Hi all, I am wondering if there is a way to time an Asyhcnronous WebRequest. I am using the HttpWRequest.BeginGetResponse(new AsyncCallback(UpdateItem), si); si = StoreInfo and is a class instance storing the Request,URL, and a stopwatch which I started). In the UpdateItem routine I get the stopwatch and stop it.
Problem is the stopwatch is running but the request is waiting to start the request, it has NOT actually made the request.
So I guess I need a way to start the stopwatch when the request actually begins(a thread starts on this request) OR somehow determine the time elapsed from the request/response? Don't think there is a way.
Anyone have any ideas?