Show / Hide Table of Contents

Class Device

Represents the physical device the user agent is using

Inheritance
Object
Device
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace:FubarDev.WebDavServer.Utils.UAParser
Assembly:FubarDev.WebDavServer.dll
Syntax
public sealed class Device

Constructors

| Improve this Doc View Source

Device(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 Source

Brand

The brand of the device

Declaration
public string Brand { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Family

The family of the device, if available

Declaration
public string Family { get; }
Property Value
Type Description
String
| Improve this Doc View Source

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
| Improve this Doc View Source

Model

The model of the device, if available

Declaration
public string Model { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

ToString()

A readable description of the device

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX