HtmlWebGet Method (String, String, WebProxy, NetworkCredential, String) |
Gets an HTML document from an Internet resource and saves it to the specified file. Understands Proxies
Namespace:
WorkflowGen.My.HtmlAgilityPack
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax public void Get(
string url,
string path,
WebProxy proxy,
NetworkCredential credentials,
string method
)
Public Sub Get (
url As String,
path As String,
proxy As WebProxy,
credentials As NetworkCredential,
method As String
)
Parameters
- url
- Type: SystemString
The requested URL, such as "http://Myserver/Mypath/Myfile.asp". - path
- Type: SystemString
The location of the file where you want to save the document. - proxy
- Type: System.NetWebProxy
- credentials
- Type: System.NetNetworkCredential
- method
- Type: SystemString
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
See Also