BrowserHelper Class |
Namespace: CMS.Helpers
[SerializableAttribute] public class BrowserHelper : IDataContainer, ISimpleDataContainer
The BrowserHelper type exposes the following members.
Name | Description | |
---|---|---|
BrowserHelper |
Name | Description | |
---|---|---|
ColumnNames |
Get the list of supported properties.
| |
IsFlashInstalled |
Indicates whether Flash is installed.
| |
IsJavaInstalled |
Indicates whether Java is installed.
| |
IsSilverlightInstalled |
Indicates whether Silverlight is installed.
| |
Item |
Returns given property from BrowserHelper. Setter is not implemented
| |
OperatingSystem |
Gets or sets the operating system of the user.
| |
ScreenColorDepth |
Gets or sets the screen color depth.
| |
ScreenResolution |
Gets or sets the screen resolution.
| |
SearchKeywords |
Gets or sets the search keywords used to access the site.
|
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if given column exists.
| |
GetBrowser |
Gets the browser string from current request.
| |
GetBrowserClass |
Gets the browser specific CSS class name.
| |
GetMajorVersion |
Gets browser major version.
| |
GetMinorVersion |
Gets browser minor version.
| |
GetUrlReferrer |
Returns UrlReferrer from request.
| |
GetUserAgent |
Returns mobile browser agent.
| |
GetUserLanguages |
Returns list of browser user languages from request.
| |
GetValue |
Returns given property from BrowserHelper. Setter is not implemented
| |
IsChrome |
Returns true if current browser is Chrome.
| |
IsCrawler |
Returns whether browsing device is search engine crawler (spider, bot).
| |
IsGecko |
Indicates if browser is based on Gecko.
| |
IsIE |
Indicates if browser is Internet explorer.
| |
IsMobileDevice |
Indicates if browser is mobile device.
| |
IsMobileDevice(Boolean) |
Indicates if browser is mobile device.
| |
IsOpera |
Indicates if browser is Opera.
| |
IsSafari |
Returns true if current browser is Safari.
| |
IsWebKit |
Indicates if browser is based on WebKit.
| |
IsWin32 |
Indicates if client is a Win-32 based comupter.
| |
SetValue |
Not implemented.
| |
TryGetValue |
Returns given property from BrowserHelper
|
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |