Class Device
Represents the physical device the user agent is using
Inherited Members
Namespace:FubarDev.WebDavServer.Utils.UAParser
Assembly:FubarDev.WebDavServer.dll
Syntax
public sealed class Device
Constructors
| Improve this Doc View SourceDevice(String, String, String)
Constructs a Device instance
Declaration
public Device(string family, string brand, string model)
Parameters
Type | Name | Description |
---|---|---|
String | family | |
String | brand | |
String | model |
Properties
| Improve this Doc View SourceBrand
The brand of the device
Declaration
public string Brand { get; }
Property Value
Type | Description |
---|---|
String |
Family
The family of the device, if available
Declaration
public string Family { get; }
Property Value
Type | Description |
---|---|
String |
IsSpider
Returns true if the device is likely to be a spider or a bot device
Declaration
public bool IsSpider { get; }
Property Value
Type | Description |
---|---|
Boolean |
Model
The model of the device, if available
Declaration
public string Model { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToString()
A readable description of the device
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |