System::Net::WebRequest::CreateDefault method

WebRequest::CreateDefault method

Creates a WebRequest descendant for the specified URI scheme.

static System::SharedPtr<WebRequest> System::Net::WebRequest::CreateDefault(System::SharedPtr<Uri> requestUri)
ParameterTypeDescription
requestUriSystem::SharedPtr<Uri>The URI that is used to create a new instance of the WebRequest class.

ReturnValue

A newly created WebRequest-class instance.

See Also