Class DeviceInfo
- Namespace
- Dynamicweb.Frontend.Devices
- Assembly
- Dynamicweb.dll
Represents information about a client device.
public class DeviceInfo
- Inheritance
-
DeviceInfo
- Inherited Members
Constructors
DeviceInfo()
public DeviceInfo()
Properties
DeviceType
public DeviceType DeviceType { get; set; }
Property Value
PlatformType
public PlatformType PlatformType { get; set; }
Property Value
Methods
ParseFromDeviceAndPlatformString(string, string)
public static DeviceInfo ParseFromDeviceAndPlatformString(string device, string platform)
Parameters
Returns
ParseFromUserAgentString(string?)
Parses device information from user agent string.
public static DeviceInfo ParseFromUserAgentString(string? userAgent)
Parameters
userAgent
stringThe user agent string.
Returns
- DeviceInfo
Information about the device.