ActiveXEnabled Property (.NET)

 

Type: Boolean

 

Returns True if the browser has ActiveX controls enabled, or False if ActiveX controls are disabled.

 

Tip: See the extproperties.aspx example located in your BrowserHawk\samples\dotnet directory for a working sample which demonstrates detection of this property.

 

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

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("ActiveXEnabled");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

ActiveXEnabled: <% Response.Write(extBrow. ActiveXEnabled); %>

</html>

 

Special notes for this property:

 

See Also:

JavaScriptEnabled Property (.NET)

JavaEnabled Property (.NET)

SessionCookies Property (.NET)

PersistentCookies Property (.NET)