IUnsafeWebRequestCreate.Create Method (Uri)

.NET Framework (current version)
 
Note: This API is now obsolete.

Initializes a new WebRequest for the specified URI scheme.

Namespace:   System.Net
Assembly:  System.Net (in System.Net.dll)

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
	true)]
WebRequest Create(
	Uri uri
)

Parameters

uri
Type: System.Uri

The URI of the requested resource.

Return Value

Type: System.Net.WebRequest

Returns WebRequest.

A WebRequest descendant for the specified URI scheme.

.NET Framework
Available since 4.5
Return to top
Show: