Class UserAgent
Represents a user agent string.
public class UserAgent
- Inheritance
-
UserAgent
- Inherited Members
Constructors
UserAgent()
Initializes a new instance of the UserAgent type.
[Obsolete("Use the constructor which sets the userAgentString")]
public UserAgent()
UserAgent(string)
Initializes a new instance of the UserAgent type.
public UserAgent(string userAgentString)
Parameters
userAgentString
stringThe user agent string.
Properties
AcceptLanguage
Gets or sets the language to accept in headers.
public string? AcceptLanguage { get; set; }
Property Value
Platform
Gets or sets the value of the platform.
public string? Platform { get; set; }
Property Value
UserAgentString
Gets or sets the user agent string.
public string UserAgentString { get; set; }