Class UserAgentParser
Utility class for parsing a User-Agent http header.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.Net.Http
Assembly: IRM.dll
Syntax
public class UserAgentParser
Constructors
UserAgentParser(IDictionary<String, String>)
Initializes a new instance of the UserAgentParser class.
Declaration
public UserAgentParser(IDictionary<string, string> headers)
Parameters
System.Collections.Generic.IDictionary<String, String>
headers
|
UserAgentParser(IDictionary<String, String>, String)
Initializes a new instance of the UserAgentParser class.
Declaration
public UserAgentParser(IDictionary<string, string> headers, string userAgent)
Parameters
System.Collections.Generic.IDictionary<String, String>
headers
|
String
userAgent
|
Properties
Browser
Gets device information from the User-Agent.
Declaration
public Browser Browser { get; }
Property Value
Browser
|
Device
Gets device information from the User-Agent.
Declaration
public Device Device { get; }
Property Value
Device
|
MightSupportWindowsIntegratedSecurity
Gets av alue indicating if windows integrated security can be supported of that browser.
Declaration
public bool MightSupportWindowsIntegratedSecurity { get; }
Property Value
Boolean
True if windows integrated is not supported; otherwise False. |
Platform
Gets device information from the User-Agent.
Declaration
public Platform Platform { get; }
Property Value
Platform
|