DeviceProfileInfoProvider.GetCurrentDeviceProfileInfo Method (String, Boolean) |
Returns current device profile info.
Namespace: CMS.DeviceProfilesAssembly: CMS.DeviceProfiles (in CMS.DeviceProfiles.dll) Version: 10.0.0
Syntaxpublic static DeviceProfileInfo GetCurrentDeviceProfileInfo(
string siteName,
bool loadFromCookies
)
Parameters
- siteName
- Type: System.String
Site name - loadFromCookies
- Type: System.Boolean
Indicates if device profile is loaded from cookie instead of current browser device
Return Value
Type:
DeviceProfileInfo
See Also