DeviceProfileInfoProviderGetCurrentDeviceProfileInfoInternal Method |
Returns current device profile info.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax protected virtual DeviceProfileInfo GetCurrentDeviceProfileInfoInternal(
string siteName,
bool loadFromCookies,
bool canBeOverridden
)
Parameters
- siteName
- Type: SystemString
Site name - loadFromCookies
- Type: SystemBoolean
Indicates if device profile is loaded from cookie instead of current browser device - canBeOverridden
- Type: SystemBoolean
Indicates if device profile can be overridden by URL parameter or cookie at all.
Return Value
Type:
DeviceProfileInfoSee Also