System.Net.WebRequest: Method Members

The methods of System.Net.WebRequest are listed below. For a list of all members, see the WebRequest Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

Abort()

Aborts the Request

BeginGetRequestStream(AsyncCallback, object) : IAsyncResult

When overridden in a descendant class, provides an asynchronous version of the WebRequest.GetRequestStream method.

BeginGetResponse(AsyncCallback, object) : IAsyncResult

When overridden in a descendant class, begins an asynchronous request for an Internet resource.

static
Create(string) : WebRequest

Initializes a new System.Net.WebRequest instance for the specified URI scheme.

static
Create(Uri) : WebRequest

Initializes a new System.Net.WebRequest instance for the specified URI scheme.

static
CreateDefault(Uri) : WebRequest

Initializes a new System.Net.WebRequest instance for the specified URI scheme.

static
CreateHttp(string) : HttpWebRequest

Initializes a new System.Net.HttpWebRequest instance for the specified URI string.

static
CreateHttp(Uri) : HttpWebRequest

Initializes a new System.Net.HttpWebRequest instance for the specified URI.

EndGetRequestStream(IAsyncResult) : System.IO.Stream

When overridden in a descendant class, returns a System.IO.Stream for writing data to the Internet resource.

EndGetResponse(IAsyncResult) : WebResponse

When overridden in a descendant class, returns a System.Net.WebResponse.

GetRequestStream() : System.IO.Stream

When overridden in a descendant class, returns a System.IO.Stream for writing data to the Internet resource.

GetRequestStreamAsync() : System.Threading.Tasks.Task<System.IO.Stream>

When overridden in a descendant class, returns a System.IO.Stream for writing data to the Internet resource as an asynchronous operation.

GetResponse() : WebResponse

When overridden in a descendant class, returns a response to an Internet request.

GetResponseAsync() : System.Threading.Tasks.Task<WebResponse>

When overridden in a descendant class, returns a response to an Internet request as an asynchronous operation.

static
GetSystemWebProxy() : IWebProxy

Returns a proxy configured with the Internet Explorer settings of the currently impersonated user.

static
RegisterPrefix(string, IWebRequestCreate) : bool

Registers a System.Net.WebRequest descendant for the specified URI.

Protected Methods