Class UserAgent
Represents a user agent, commonly a browser
Inherited Members
Namespace:FubarDev.WebDavServer.Utils.UAParser
Assembly:FubarDev.WebDavServer.dll
Syntax
public sealed class UserAgent
Constructors
| Improve this Doc View SourceUserAgent(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 SourceFamily
The family of user agent
Declaration
public string Family { get; }
Property Value
Type | Description |
---|---|
String |
Major
Major version of the user agent, if available
Declaration
public string Major { get; }
Property Value
Type | Description |
---|---|
String |
Minor
Minor version of the user agent, if available
Declaration
public string Minor { get; }
Property Value
Type | Description |
---|---|
String |
Patch
Patch version of the user agent, if available
Declaration
public string Patch { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToString()
The user agent as a readbale string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |