Click or drag to resize
CurrentDeviceInfo Class
Class to hold current device information.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerCurrentDeviceInfo
    CMS.BaseAbstractDataContainerCurrentDeviceInfo
      CMS.PortalEngineCurrentDeviceInfo

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public class CurrentDeviceInfo : AbstractDataContainer<CurrentDeviceInfo>

The CurrentDeviceInfo type exposes the following members.

Constructors
  NameDescription
Public methodCurrentDeviceInfo
Constructor.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodStatic memberIsPremium
Determines whether the 51Degrees device package is a premium package.
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object for resolving data macros.
(Overrides AbstractSimpleDataContainerTObjectRegisterColumns.)
Public methodSetValue
Not implemented.
(Overrides AbstractSimpleDataContainerTObjectSetValue(String, Object).)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyBitsPerPixel Obsolete.
The number of data bits per pixel.
Public propertyBrowserName Obsolete.
The name of the browser. Many mobile browsers come default with the OS. Unless specifically named, these browsers are named after the accompanying OS.
Public propertyBrowserVendor Obsolete.
The company who created the browser.
Public propertyBrowserVersion Obsolete.
The version number of the browser.
Public propertyCcppAccept Obsolete.
Stands for Composite Capability/Preference Profiles. Lists MIME types known to be supported. 3rd party applications may enable other MIME types to be supported which are not listed.
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyCookiesCapable Obsolete.
Indicates if the browser supports http cookies.
Public propertyData
Data container for all available properties.
Public propertyDeviceName
Current device name in format "[Vendor] - [Name]".
Public propertyHardwareModel Obsolete.
The model name or number used primarily by the hardware vendor to identify the device. This is not always the name the device is most often known as. You should also use HardwareName for a list of popular device names.
Public propertyHardwareName
A list of marketing names associated with the device, seperated by a '|'. A device may be known by many names depending on region or network. Likewise, a device may not have a marketing name at all, leaving this empty. This property should be used in tandem with HardwareModel.
Public propertyHardwareVendor
The company who manufactured the hardware. Some devices (such as PCs) don't reveal this information and will return 'Unknown'.
Public propertyHasCamera Obsolete.
Indicates if the device has a camera.
Public propertyHasKeypad Obsolete.
Indicates if the device has a physical numeric keypad.
Public propertyHasPremiumInformation
Indicates if current device contains premium data information.
Public propertyHasQwertyPad Obsolete.
Indicates if the device has a physical qwerty keyboard.
Public propertyHasTouchScreen Obsolete.
Indicates if the device has a touchscreen.
Public propertyHasTrackPad Obsolete.
Indicates if the device has a track pad or ball. eg - Nexus One, Blackberry Curve
Public propertyHasVirtualQwerty Obsolete.
Indicates if the device has a virtual on-screen qwerty pad.
Public propertyHtmlVersion Obsolete.
Latest version of HyperText Markup Language (HTML) supported by the browser. May return 'Unknown'.
Public propertyIsCrawler
Indicates if the device is a crawler.
Public propertyIsMobile
The device's primary data connection is wireless and is designed to operate mostly from battery power (ie a mobile phone, smart phone or tablet).
Public propertyIsTablet
The manufacturer of the device sells the device primarily as a tablet.
Public propertyItem
Gets or sets the value of the column.
(Inherited from AbstractSimpleDataContainerTObject.)
Public propertyJavascript Obsolete.
Indicates if the browser supports Javascript.
Public propertyLayoutEngine Obsolete.
The underlying technology behind the web browser.
Public propertyMaxScreenSize
Returns max side size of screen size.
Public propertyPlatformName Obsolete.
The name of the software platform (operating system) the device is using.
Public propertyPlatformVendor Obsolete.
The company who created the OS.
Public propertyPlatformVersion Obsolete.
The version of the software platform.
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Public propertyScreenPixelsHeight
The height of the screen in pixels.
Public propertyScreenPixelsWidth
The width of the screen in pixels.
Public propertyStreamingAccept Obsolete.
A list of MIME types the device can accept to stream. 3rd party applications may enable other MIME types to be supported which are not listed.
Public propertySupportedBearers Obsolete.
List of the bearers supported by the device. Possible values: 1xRTT, 3GPP, CDMA, CSD, Desktop Passthrough, EDGE, EVDO, GPRS, GSM, HSCSD, HSDPA, HSPA, HSPA+, HSUPA, iDEN, LTE, NoneSupported, SMS, UMTS, Unknown, USB, USSD, WCDMA, WiFi, WiMAX
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Public propertyUserAgent
Current device user agent.
Top
See Also