Class UserAgentParser
Provides the means to read the operating system from a browser's User-Agent.
public static class UserAgentParser
- Inheritance
-
UserAgentParser
- Inherited Members
Methods
GetOperatingSystem(string?)
Reads the operating system's name by a heuristic, with a version where it finds one.
public static string GetOperatingSystem(string? userAgent)
Parameters
Returns
- string
The name, such as
Windows 7, orUnknown OS.