title: How can I send and receive data to a serial port or USB port in ASP.NET?
body: <p>I am developing a web application for a parking. I want to control a gateway entrance with a device connected to USB port, but we know that the browser is in a <a href="https://en.wikipedia.org/wiki/Sandbox_(computer_security)" rel="nofollow noreferrer">sandbox</a>, so there isn't any access to the computer's port.</p>
  <p>I searched the web and found out there is some possibility to do so via <a href="https://en.wikipedia.org/wiki/ActiveX" rel="nofollow noreferrer">ActiveX</a> and/or <a href="https://en.wikipedia.org/wiki/Java_applet" rel="nofollow noreferrer">Java applets</a>, but I'm a novice to these things and want a complete tutorial or a wiki book that describe it or even class libraries relative to.</p>
  <p>I want to send data to a USB or COM port via an ASP.NET application (client side). I know that browsers aren't able to do so because of security issues. What would be an example of using ActiveX?</p>