Plugin_FlashBlocked Property (.NET)

 

Type: Integer

 

This property returns 0 if the user has Flash installed and working, 1 if the user has Flash installed but it is blocked or otherwise not working, and -1 if the user does not have Flash 10 or higher installed.

 

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 Plugin_FlashBlocked 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 Plugin_FlashBlocked 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 BrowserHawk uses this Flash file to test whether the browser can load and execute it. Note that the Flash it executes for this test is completely transparent.

 

Note: This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("Plugin_FlashBlocked");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

Plugin_FlashBlocked: <% Response.Write(extBrow.Plugin_FlashBlocked); %> <br>

0 = Flash is working and not blocked, 1 = Flash is blocked, -1 = no Flash 10 or higher installed

</html>

 

 

Special notes for this property:

 

See Also:

FlashTimeout Property (.NET)

Plugin_Flash Property (.NET)

Plugin_FlashVerEx Property (.NET)