Click or drag to resize

HtmlWebLoad Method (String, String, WebProxy, NetworkCredential)

Loads an HTML document from an Internet resource.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.3.3.0 (8.3.3.20240926)
Syntax
public HtmlDocument Load(
	string url,
	string method,
	WebProxy proxy,
	NetworkCredential credentials
)

Parameters

url
Type: SystemString
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
method
Type: SystemString
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
proxy
Type: System.NetWebProxy
Proxy to use with this request
credentials
Type: System.NetNetworkCredential
Credentials to use when authenticating

Return Value

Type: HtmlDocument
A new HTML document.
See Also