Class MyWebClient
Provides common methods for sending data to and receiving data from a resource identified by a URI.
public class MyWebClient : WebClient, IComponent, IDisposable
- Inheritance
-
MyWebClient
- Implements
- Inherited Members
- Extension Methods
Fields
ResponseUri
Response Uri after any redirects.
public Uri ResponseUri
Field Value
Methods
GetWebResponse(WebRequest, IAsyncResult)
Returns the WebResponse for the specified WebRequest using the specified IAsyncResult.
protected override WebResponse GetWebResponse(WebRequest request, IAsyncResult result)
Parameters
request
WebRequestA WebRequest that is used to obtain the response.
result
IAsyncResultAn IAsyncResult object obtained from a previous call to BeginGetResponse(AsyncCallback, object) .
Returns
- WebResponse
A WebResponse containing the response for the specified WebRequest.