DeviceProfileInfoProvider GetCurrentDeviceProfileInfo Method (String, Boolean)Kentico 8.1 API Reference
Returns current device profile info.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

siteName
Type: OnlineSystem String
Site name
loadFromCookies
Type: OnlineSystem Boolean
Indicates if device profile is loaded from cookie instead of current browser device

Return Value

Type: DeviceProfileInfo
See Also