Returns current device profile info based on current user agent.
The value based on the user agent can be overwritten by query string parameter or by cookie (CMSCurrentDeviceInfo).
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- siteName
- Type: System String
Site name
- loadFromCookies
- Type: System Boolean
Indicates if device profile is loaded from cookie instead of current browser device
- canBeOverridden
- Type: System Boolean
Indicates if device profile can be overridden by URL parameter or cookie at all.
Return Value
Type: List DeviceProfileInfoSee Also