WebRequest.Create Method (Uri)
Creates a WebRequest instance.
Namespace: System.Net
Assembly: System (in system.dll)
Syntax
public static WebRequest Create (
UrirequestUri
)
Parameters
- requestUri
A Uri containing the URI of the requested resource.
Return Value
A WebRequest descendant for the specified URI scheme.
Remarks
This is the main creation routine. The specified Uri is looked up in the prefix match table, and the appropriate handler is invoked to create the object.
Version Information
Available in the .NET Micro Framework versions 4.0 and 4.1.