Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to call the methods in a dll from javascript?

Tags:

javascript

c#

dll

I created a c# class library. I need to to call a method in the library file javascript using the dll.The javascript will be embedded in a web page already created. The dll will be on the client machine. Can someone help?
Ps:the method returns a boolean

More details: Actually the website is a virtual web conferencing software in which each one has a particualr avatar. I have to detect whether a particular software(needed for making video calls) is installed in the user's system.If it is installed i have to indicate that by showing some special symbols on his avatar.I made a c# class library which returns "true" if the software is installed in the system.Now i have to embed this in the virtual conferencing web software

I am new to c# and javascript programming!

like image 341
Kai Avatar asked Nov 18 '25 09:11

Kai


1 Answers

Use the ActiveXObject class: http://www.dreamincode.net/forums/topic/38890-activex-with-c%23/

like image 73
Ulrik Magnusson Avatar answered Nov 19 '25 23:11

Ulrik Magnusson