0

I was wondering, is it possible to take control of an end-user's USB-connected device or peripheral from an ASP.NET web application via C# with the libUsbDotNet library?

In other words, be able to control certain functions of USB devices from a website?

I would think that would be pretty cool.

John Saunders
162k26 gold badges252 silver badges403 bronze badges
asked Nov 18, 2010 at 3:14
2
  • that wouldn't be cool... it'd open up a flood gate for hackers to go wild. Commented Nov 18, 2010 at 4:15
  • OK, nvmd then, my bad. All I was saying was that it would be kind of cool to be able to control client USB devices from a website. Commented Nov 18, 2010 at 4:59

2 Answers 2

1

You've got to keep in mind that browser are working to keep you from doing this.

You would actually have to write an ActiveX Component, to be able to do something like this.

answered Nov 18, 2010 at 3:43
Sign up to request clarification or add additional context in comments.

Comments

1

no. for many reasons.

the most salient reason that 'no' is the answer to your question is that the lib runs on the server, not the client.

a more pragmatic reason is that browsers are engineered to be sandboxed. creating an activeX component is the only realistic way around this but the technology and deployment is fraught with complications and then you have to consider the limited support for activex across browser/platforms.

answered Nov 18, 2010 at 3:47

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.