System.Net.IWebRequestCreate.Create Method

Creates a System.Net.WebRequest instance.

Syntax

public WebRequest Create (Uri uri)

Parameters

uri
The uniform resource identifier (URI) of the Web resource.

Returns

A System.Net.WebRequest instance.

Remarks

The IWebRequestCreate.Create(Uri) method must return an initialized instance of the System.Net.WebRequest descendant that is capable of performing a standard request/response transaction for the protocol without needing any protocol-specific fields modified.

Requirements

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