getting Url in the call back function of WebRequesting
- by Stacker
lets say i have a web request:
WebRequest webRequest = WebRequest.Create(Url);
webRequest.BeginGetResponse(this.RespCallback, webRequest);
now is there is any way to do retierve the URL in
private void RespCallback(IAsyncResult asynchronousResult)
{
// here
}
the idea is i want to provide a squence id in the url while doing webrequest and then reterive it on the call back and match it to know that this call back is from that request.
any idea?