Represents detailed information of a device-browser combination. This information is provided by the Ingeniux CMS mobile detection library
for administrative user interfaces. It isn't stored in the bundle.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IDeviceInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
Created |
Gets the entity's creation date.
(Inherited from IEntity.) | |
CreationUser |
Gets the ID of the User who created this entity.
(Inherited from IEntity.) | |
FullName |
Gets the full name of the device-browser combination.
| |
Height |
Gets the simulated screen height for a browser.
| |
IsTablet |
Checks whether this device is a tablet or mobile phone.
| |
LastModified |
Gets the date when the entity was most recently modified.
(Inherited from IEntity.) | |
LastModifiedUser |
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.) | |
Manufacturer |
Gets the device manufacturer's name.
| |
Name |
Gets and sets the entity's name.
(Inherited from IEntity.) | |
Platform |
Gets the platform (operating system) of the device.
| |
Session |
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.) | |
SessionId |
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.) | |
UserAgent |
Gets the User Agent string in this device/browser combination
(Inherited from IDevice.) | |
Version |
Gets the device's firmware version.
| |
Width |
Gets the simulated screen width for browser.
|
Methods
Name | Description | |
---|---|---|
CanBundleWith |
Checks if this device can be put into the same DeviceBundle as another specified device.
| |
ValidateData |
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.) | |
ValidateUserPermission |
Validates the user permission on the current entity. Implemented by concrete inheriting types.
It is called automatically upon saving an entity.
(Inherited from IEntity.) |
Events
Name | Description | |
---|---|---|
AfterEntitySave |
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.) | |
BeforeEntitySave |
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.) |
Remarks
Examples
Serialization of this object matches the "D" element of the MobileDevices.xml file in previous-generation CMS content, except the element text is the user agent instead of device ID:
<D>Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.85 (KHTML, like Gecko) Version/5.1 Mobile/9B125 Safari/7534.48.3</D>
See Also