Plugin_Silverlight Property (.NET)

 

Type: Integer

 

Returns the version of the visitor’s Microsoft Silverlight plug-in if installed. If it is not possible to detect if the plug-in is installed, -1 is returned. If the plug-in is not installed, 0 is returned. Otherwise the version of Silverlight installed is returned (for example, 1). Note that versions of Silverlight prior to version 1.0 (such as 0.9) are returned as 1.

 

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

 

Special notes for this property:

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("Plugin_Silverlight");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

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

</html>

 

See Also:

Plugin_SilverlightVerEx Property (.NET)