WebRequestModuleElement.Type Property

 

Gets or sets a class that creates Web requests.

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

[ConfigurationPropertyAttribute("type")]
public Type Type { get; set; }

Property Value

Type: System.Type

A Type instance that identifies a Web request module.

Using the WebRequest and WebResponse classes, applications can request resources for any valid Uri. Use this property to specify a type that is registered to work with the Create method to create new requests.

The .NET Framework version 2.0 provides Web request modules that create requests for resources with the following prefixes:

  • HTTP

  • HTTPS

  • FTP

  • FILE

.NET Framework
Available since 2.0
Return to top
Show: