







![]() ![]() |
A Sandcastle Documented Class Library |
HtmlWeb..::..Load Method (String, String, Int32, String, String) |
HtmlWeb Class See Also Send Feedback |
Gets an HTML document from an Internet resource.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public HtmlDocument Load( string url, string proxyHost, int proxyPort, string userId, string password ) |
Visual Basic |
---|
Public Function Load ( _ url As String, _ proxyHost As String, _ proxyPort As Integer, _ userId As String, _ password As String _ ) As HtmlDocument |
Visual C++ |
---|
public: HtmlDocument^ Load( String^ url, String^ proxyHost, int proxyPort, String^ userId, String^ password ) |
Parameters
- url
- Type: System..::..String
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
- proxyHost
- Type: System..::..String
Host to use for Proxy
- proxyPort
- Type: System..::..Int32
Port the Proxy is on
- userId
- Type: System..::..String
User Id for Authentication
- password
- Type: System..::..String
Password for Authentication