HtmlWeb Class |
Namespace: WorkflowGen.My.HtmlAgilityPack
The HtmlWeb type exposes the following members.
Name | Description | |
---|---|---|
AutoDetectEncoding |
Gets or Sets a value indicating if document encoding must be automatically detected.
| |
CacheOnly |
Gets or Sets a value indicating whether to get document only from the cache.
If this is set to true and document is not found in the cache, nothing will be loaded.
| |
CachePath |
Gets or Sets the cache path. If null, no caching mechanism will be used.
| |
FromCache |
Gets a value indicating if the last document was retrieved from the cache.
| |
RequestDuration |
Gets the last request duration in milliseconds.
| |
ResponseUri |
Gets the URI of the Internet resource that actually responded to the request.
| |
StatusCode |
Gets the last request status.
| |
StreamBufferSize |
Gets or Sets the size of the buffer used for memory operations.
| |
UseCookies |
Gets or Sets a value indicating if cookies will be stored.
| |
UserAgent |
Gets or Sets the User Agent HTTP 1.1 header sent on any webrequest
| |
UsingCache |
Gets or Sets a value indicating whether the caching mechanisms should be used or not.
|
Name | Description | |
---|---|---|
CreateInstance(String, Type) |
Creates an instance of the given type from the specified Internet resource.
| |
CreateInstance(String, String, XsltArgumentList, Type) |
Creates an instance of the given type from the specified Internet resource.
| |
CreateInstance(String, String, XsltArgumentList, Type, String) |
Creates an instance of the given type from the specified Internet resource.
| |
Get(String, String) |
Gets an HTML document from an Internet resource and saves it to the specified file.
| |
Get(String, String, String) |
Gets an HTML document from an Internet resource and saves it to the specified file.
| |
Get(String, String, WebProxy, NetworkCredential) |
Gets an HTML document from an Internet resource and saves it to the specified file. - Proxy aware
| |
Get(String, String, WebProxy, NetworkCredential, String) |
Gets an HTML document from an Internet resource and saves it to the specified file. Understands Proxies
| |
GetCachePath |
Gets the cache file path for a specified url.
| |
GetContentTypeForExtension |
Gets the MIME content type for a given path extension.
| |
GetExtensionForContentType |
Gets the path extension for a given MIME content type.
| |
Load(String) |
Gets an HTML document from an Internet resource.
| |
Load(String, String) |
Loads an HTML document from an Internet resource.
| |
Load(String, String, WebProxy, NetworkCredential) |
Loads an HTML document from an Internet resource.
| |
Load(String, String, Int32, String, String) |
Gets an HTML document from an Internet resource.
| |
LoadHtmlAsXml(String, XmlTextWriter) |
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter.
| |
LoadHtmlAsXml(String, String, XsltArgumentList, XmlTextWriter) |
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter, after an XSLT transformation.
| |
LoadHtmlAsXml(String, String, XsltArgumentList, XmlTextWriter, String) |
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter, after an XSLT transformation.
|
Name | Description | |
---|---|---|
PostResponse |
Occurs after an HTTP request has been executed.
| |
PreHandleDocument |
Occurs before an HTML document is handled.
| |
PreRequest |
Occurs before an HTTP request is executed.
|