Show / Hide Table of Contents

Class UserAgent

Represents a user agent, commonly a browser

Inheritance
Object
UserAgent
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 UserAgent

Constructors

| Improve this Doc View Source

UserAgent(String, String, String, String)

Construct a UserAgent instance

Declaration
public UserAgent(string family, string major, string minor, string patch)
Parameters
Type Name Description
String family
String major
String minor
String patch

Properties

| Improve this Doc View Source

Family

The family of user agent

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

Major

Major version of the user agent, if available

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

Minor

Minor version of the user agent, if available

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

Patch

Patch version of the user agent, if available

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

Methods

| Improve this Doc View Source

ToString()

The user agent as a readbale string

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