Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using SilverLight to communicate to a USB device from browser

Posted on 2008-06-15
2
Medium Priority
?
2,163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
apb2 earned 1500 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

730 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