WebRequest Constructor ()
.NET Framework (current version)
Initializes a new instance of the WebRequest class.
Assembly: System (in System.dll)
Use the Create method to initialize new WebRequest instances. Do not use the constructor.
The following example shows how to create a WebRequest instance by calling the Create method on the WebRequest class.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: