Click or drag to resize
DeviceProfileInfoProviderGetCurrentDeviceProfileInfo Method (String, Boolean)
Returns current device profile info.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
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: DeviceProfileInfo
See Also