Table of Contents

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

DeviceType

PlatformType

public PlatformType PlatformType { get; set; }

Property Value

PlatformType

Methods

ParseFromDeviceAndPlatformString(string, string)

public static DeviceInfo ParseFromDeviceAndPlatformString(string device, string platform)

Parameters

device string
platform string

Returns

DeviceInfo

ParseFromUserAgentString(string)

Parses device information from user agent string.
public static DeviceInfo ParseFromUserAgentString(string userAgent)

Parameters

userAgent string
The user agent string.

Returns

DeviceInfo
Information about the device.
To top