Class ClientInfo
Represents the user agent client information resulting from parsing a user agent string
Inherited Members
Namespace:FubarDev.WebDavServer.Utils.UAParser
Assembly:FubarDev.WebDavServer.dll
Syntax
public class ClientInfo : IUAParserOutput
Constructors
| Improve this Doc View SourceClientInfo(String, OS, Device, UserAgent)
Constructs an instance of the ClientInfo with results of the user agent string parsing
Declaration
public ClientInfo(string inputString, OS os, Device device, UserAgent userAgent)
Parameters
Type | Name | Description |
---|---|---|
String | inputString | |
OS | os | |
Device | device | |
UserAgent | userAgent |
Properties
| Improve this Doc View SourceDevice
The Device parsed from the user agent string
Declaration
public Device Device { get; }
Property Value
Type | Description |
---|---|
Device |
Implements
| Improve this Doc View SourceOS
The OS parsed from the user agent string
Declaration
public OS OS { get; }
Property Value
Type | Description |
---|---|
OS |
Implements
| Improve this Doc View SourceString
The user agent string, the input for the UAParser
Declaration
public string String { get; }
Property Value
Type | Description |
---|---|
String |
Implements
| Improve this Doc View SourceUA
The User Agent parsed from the user agent string
Declaration
public UserAgent UA { get; }
Property Value
Type | Description |
---|---|
UserAgent |
Implements
| Improve this Doc View SourceUserAgent
The User Agent parsed from the user agent string
Declaration
public UserAgent UserAgent { get; }
Property Value
Type | Description |
---|---|
UserAgent |
Methods
| Improve this Doc View SourceToString()
A readable description of the user agent client information
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |