I have an application that posts a large file to a vendor's API and gets a response. It does so thusly:
HttpWebRequest webRequest = BuildWebRequest(..., requestParams.Data, ...);
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();
I would like to measure the elapsed time of only the response itself (excluding the time it takes to transmit/post the large multipart/form-data).
I don't see any combination of HttpWebRequest methods or events I can tap into to separate the request upload from the response download.
Any ideas?