Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpWebRequest Constructor

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Initializes a new instance of the HttpWebRequest class.

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

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

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft