System.Net.FileWebRequest.EndGetResponse Method

Ends an asynchronous request for a file system resource.

Syntax

public override WebResponse EndGetResponse (IAsyncResult asyncResult)

Parameters

asyncResult
An IAsyncResult that references the pending request for a response.

Returns

A System.Net.WebResponse that contains the response from the file system resource.

Remarks

The FileWebRequest.EndGetResponse(IAsyncResult) method completes an asynchronous request for a file system resource that was started with the FileWebRequest.BeginGetResponse(AsyncCallback, object) method.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0