PORTS Forum
Ports and Interfaces => USB => Topic started by: mr_asadi on February 10, 2013, 02:49:24 am
-
hi
how can I get read size and write size of a USB Flash memory that connected to the PC ?
is any way from createfile() and deviceIOcontrol() function? there is any one that help me with a clear example in C#?
-
See the DriveInfo class, TotalSize property:
http://msdn.microsoft.com/en-us/library/system.io.driveinfo.aspx