Solved

Using SilverLight to communicate to a USB device from browser

Posted on 2008-06-15
2
2,123 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
ID: 21793192
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
ID: 21890822
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

11 Experts available now in Live!

Get 1:1 Help Now