OSBitSize Property (.NET)

 

Type: Integer

 

This property returns the bit size of the underlying operating system, such as 32 or 64 bits.

 

Special Installation Step

Before using this property you must place the bhawkcap.swf into the same web directory where your scripts resides that performs the OSBitSize property check. This step is not performed for you automatically during installation of BrowserHawk. Therefore you must do so manually.  For example, if your web page that tests OSBItSize is \inetpub\wwwroot\mysite\bhtest.aspx, then the swf must be placed in that same directory where the bhtest.aspx file resides. BrowserHawk for ActiveX and .NET users can find the bhawkcap.swf file in the \Program Files\cyScape\BrowserHawk folder. BH4J users can find this file in the BH4J zip distribution. This file is needed because for non-IE browsers Flash is used to detect the OSBitSize. Note that the Flash it executes for this test is completely transparent.

 

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

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("OSBitSize");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

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

 

 

Special notes for this property:

 

See Also:

FlashTimeout Property (.NET)

BrowserBitSize Property (.NET)