WebRequest.Create Method (String)
Initializes a new WebRequest instance for the specified URI scheme, such as http://, https://, or file://.
Namespace: System.Net
Assembly: System (in system.dll)
Syntax
public static WebRequest Create (
stringrequestUriString
)
Parameters
- requestUriString
The URI that identifies the Internet resource.
Return Value
A newly created descendant of WebRequest for the specific 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.