Show / Hide Table of Contents

Class UserAgentParser

Utility class for parsing a User-Agent http header.

Inheritance
Object
UserAgentParser
Inherited Members
System.Object.ToString()
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
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

Extension Methods

ObjectExtensions.DeepClone<T>(T)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX