Solved

Using SilverLight to communicate to a USB device from browser

Posted on 2008-06-15
2
2,109 Views
Last Modified: 2013-11-12
Hi Experts,
We have a ASPNET web application and now we have a new request: the client wants to communicate with their USB device using our application. They plug the device into their PCs, open a page of our web application and the page will communicate with the device to get some input. Of course the device must already have proper driver. Comunication here means reading some input from the device.

Someone said that we can use JAVA to do this. However, I also want to know if we can do this using Silver Light? Can someone give me a guide or a link which tells me how to do?

Thank you for reading.
0
Comment
Question by:thuannguy
2 Comments
 
LVL 6

Accepted Solution

by:
apb2 earned 500 total points
Comment Utility
Hi thuannguy

This is an interesting question. Off the top of my head i would say this isn't possible under the current sandbox enviroment. I for one wouldn't like a web site to have the capabilities of connecting to a device, witout some clear authorization.

I would look at creating an Xbap, the user can authorise the application to have greater permissions to gain connectivity to your usb device.

a usb device, like a camera, you will be able to upload files from this device use FileOpenDialog.
http://vivekdalvi.wordpress.com/2007/06/01/safe-file-open-dialog/

Like i said i haven't had a look into this and someone could prove me wrong.

hth

apb2
0
 
LVL 6

Author Comment

by:thuannguy
Comment Utility
Hi,
After learning a bit about silver light, I found out that it doesn't allow us to access to higher security zones, and the local pc is counted as a zone. The safe-file-open may be the only one feature which allow us to upload file.
Anyway, thank for you help.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now