System.Net.FileWebRequest.GetResponse Method

Returns a response to a file system request.

Syntax

public override WebResponse GetResponse ()

Returns

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

Remarks

The FileWebRequest.GetResponse method returns a System.Net.WebResponse object that contains the response from the file system resource.

The FileWebRequest.GetResponse method provides synchronous access to the System.Net.WebResponse. For asynchronous access, use the FileWebRequest.BeginGetResponse(AsyncCallback, object) and FileWebRequest.EndGetResponse(IAsyncResult) methods.

Requirements

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