getting Url in the call back function of WebRequesting
Posted
by
Stacker
on Stack Overflow
See other posts from Stack Overflow
or by Stacker
Published on 2011-01-10T21:12:43Z
Indexed on
2011/01/10
21:54 UTC
Read the original article
Hit count: 177
c#
|httpwebrequest
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?
© Stack Overflow or respective owner