I want to read data from a USB Device which is detected as CD ROM How to do this with C#
Please Help
Thanks
I want to read data from a USB Device which is detected as CD ROM How to do this with C#
Please Help
Thanks
You need the USB HID component - here's a tutorial with source code:
http://www.codeproject.com/KB/cs/USB_HID.aspx
In case you have the drive letter you can simply use File.ReadAllText
/File.ReadAllLines
/File.ReadAllBytes
function.
Otherwise, look into getting USB device letter via: How to find USB drive letter?.
Please be more specific on what 'data' refers to in your question to allow me providing you with additional info.