OSDetails Property (.NET)

Type: String

 

OSDetails returns the user-friendly name of the operating system, based on the OS type and version.  In the case of Windows, it returns values such as "Windows XP", "Windows 2000", "Windows Vista", "Windows 7", and "Windows 8".  In the case of OS X it returns values such as "OS X Tiger", "OS X Snow Leopard" and "OS X Lion". In the case of other OSes it returns the name of the OS followed by the version number, if available.

 

This is the extended property version of OSDetails. In general, we recommend only obtaining the OSDetails property using the basic version (not performing an extended property test for this property). The basic property check is instantaneous, whereas the extended property check requires BrowserHawk to use Java to perform this test which is much slower in comparison. However in the case of Opera version 10 and earlier on OS X, this extended property  will return the version information, whereas the basic property version will not. If this case is very important to you, use this extended property version. Otherwise the basic version will provide the same results, but much faster.

 

Note: We asking for this extended property version of OSDetails, BrowserHawk will automatically also perform a check on OSName and OSVersion, since those properties are used to derive the returned OSDetails value.

 

Tip: See Detecting Operating System Details for examples of the possible values returned by this property.

 

Special notes for this property:

 

Note: Use of this property requires the Enterprise Edition of BrowserHawk.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("OSDetails");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>OSDetails is: <% Response.Write(extBrow.OSDetails);  %>

</html>

 

 

See Also:

Additional Steps Required for Java based properties

Detecting Operating System Details

OSVersion Property (.NET)

OSBitSize Property (.NET)

BrowserBitSize Property (.NET)