Detect whether Silverlight is installed and its version through JavaScript - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Friday, December 2, 2011

Detect whether Silverlight is installed and its version through JavaScript

Internet Explorer considers Silverlight as a kind of ActiveX control. So to find if Silverlight is installed, we can attempt to create this ActiveX control using
Javascript. If it fails to create the ActiveX control, we can assume that Silverlight is not installed.

For other browsers like Google Chrome, Netscape, FireFox, Safari etc, this can be determined by looking in to the Plugin array of the navigator object.
The Silverlight plugin is installed with the name 'Silverlight Plug-In'.

Read More....

No comments:

Post a Comment