Dear All,
i have developed a desktop based application using C#.NET.
In this application, i wants to enable & disable the USB drives programatically. ie, enable the USB port before the application starts using it & disable it after the use.
I need to achieve the same when the application is running in a login, who doesn't have administrative rights.
Is it possible to achieve the same using .NET framework?
Do any one knows how to implement this. If so, please inform me.
Best Regards,
Abhilash Chandran
Darren MarshallPosted May 30, 2006, 2:06 AM
There is a page on MSDN channel 9 regarding C# and low level device communication thorugh unmanaged C# here:
http://channel9.msdn.com/ShowPost.aspx?PostID=26885
Which mentions this book:
http://www.amazon.com/gp/product/0965081958/qid=1098901838/sr=8-1/ref=pd_csp_1/104-3927794-0255917?n=507846&s=books&v=glance
This article:
http://www.programmersheaven.com/search/LinkDetail.asp?Typ=2&ID=11340
And the most notable one, a USB library for C#
http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx
Hope this helps,
Darren