Class CommonUserAgents
Static helper class which lists common web-browser user-agent strings.
Inheritance
Namespace: IronWebScraper
Assembly: IronWebScraper.dll
Syntax
public static class CommonUserAgents : Object
Fields
ChromeDesktopUserAgents
Common desktop Chrome web-browser user-agent strings, most popular first.
Declaration
public static string[] ChromeDesktopUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
FireFoxDesktopUserAgents
Common desktop FireFox web-browser user-agent strings, most popular first.
Declaration
public static string[] FireFoxDesktopUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
IE11DesktopUserAgents
Common IE11 desktop web-browser user-agent strings, most popular first. Only IE11 is listed for IE to give the best chance of consistent HTML being served.
Declaration
public static string[] IE11DesktopUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
IPadUserAgents
Common Apple iApd user agent strings.
Declaration
public static string[] IPadUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
IPhoneUserAgents
Common Apple iPhone user agent strings.
Declaration
public static string[] IPhoneUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
SafariDesktopUserAgents
Common OS X Safari web-browser user-agent strings, most popular first.
Declaration
public static string[] SafariDesktopUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
WindowsTabletUserAgents
Common Windows Tablet user-agent strings.
Declaration
public static string[] WindowsTabletUserAgents
Field Value
Type | Description |
---|---|
System.String[] |
Properties
All
Common desktop, tablet and mobile user-agent strings.
Declaration
public static string[] All { get; }
Property Value
Type | Description |
---|---|
System.String[] |
DesktopUserAgents
Common desktop web-browser user-agent strings. Chrome, IE11 and Safari.
Declaration
public static string[] DesktopUserAgents { get; }
Property Value
Type | Description |
---|---|
System.String[] |
MobileUserAgents
Common mobile web-browser user-agent strings. iPad, iPhone and Windows Tablet.
Declaration
public static string[] MobileUserAgents { get; }
Property Value
Type | Description |
---|---|
System.String[] |