Sys.Net.WebRequest webRequest Constructor
Initializes a new instance of the Sys.Net.WebRequest class.
var request = new Sys.Net.WebRequest();
Remarks
You must always construct an instance of the WebRequest class before you use it.
Example
The following example shows how to instantiate a Web request. This code is part of a complete example found in the WebRequest overview.
See Also
Reference
Sys.Net.WebRequestManager Class