DeviceProfileInfoProviderGetCurrentDeviceProfileInfo Method (String, Boolean) |
Returns current device profile info.
Namespace: CMS.DeviceProfilesAssembly: CMS.DeviceProfiles (in CMS.DeviceProfiles.dll) Version: 12.0.0
Syntax public static DeviceProfileInfo GetCurrentDeviceProfileInfo(
string siteName,
bool loadFromCookies
)
Parameters
- siteName
- Type: SystemString
Site name - loadFromCookies
- Type: SystemBoolean
Indicates if device profile is loaded from cookie instead of current browser device
Return Value
Type:
DeviceProfileInfoSee Also