IronWebScraper - The C# Web Scraping Library
HttpIdentity Class |
A class defining the browsing 'identity' to be used to fetch a given Url.
Contains Proxy, UserAgent and Http Header information.
Inheritance Hierarchy
Namespace: IronWebScraper
Assembly: IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
The HttpIdentity type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpIdentity | Initializes a new instance of the HttpIdentity class |
Properties
Name | Description | |
---|---|---|
Cookies |
A "Cookie Jar" which persists http cookies for this browser identity.
| |
NetworkLoginCredential |
Returns the System.Net.NetworkCredential which will be used on for networks and http authentication (Supports: Windows / NTLM / Keroberos / Linux / BSD / Mac)
| |
ProxyFailureCount |
Gets the number of times this proxy has failed.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DefaultHttpRequestHeaders |
Default HTTP request headers to be assigned to every new identity.
| |
HttpRequestHeaders |
The default headers which will be sent with all http Requests for this identity.
| |
NetworkDomain |
The network domain to be used for user authentication. Supports Windows, NTLM , Keroberos, Linux, BSD and Mac OS X networks.
See also NetworkUsername, NetworkPassword | |
NetworkPassword |
The network/http password to be used for user authentication. Supports Http , Windows networks, NTLM , Keroberos , Linux networks, BSD networks and Mac OS X networks.
See also NetworkUsername, NetworkDomain | |
NetworkUsername |
The network/http username to be used for user authentication. Supports Http , Windows networks, NTLM , Keroberos , Linux networks, BSD networks and Mac OS X networks.
See also NetworkPassword, NetworkDomain | |
Proxy |
A proxy string such as "102.192.92.192:8088" or "username:[email protected]"
| |
UseCookies |
Stores a "Cookie Jar" which persists http cookies for this browser identity.
| |
UserAgent |
A default User-Agent header string. E.g: "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36".
Find examples online at: http://www.useragentstring.com/pages/useragentstring.php |
See Also