A Sandcastle Documented Class Library |
HtmlWeb Members |
HtmlWeb Class Constructors Methods Fields Properties See Also Send Feedback |
The HtmlWeb type exposes the following members.
Constructors
Methods
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.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
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.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
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.
|
Properties
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.
| |
OverrideEncoding |
Gets or sets the Encoding used to override the response stream from any web request
| |
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.
|