PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
How to get read size and write size of a MSD?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to get read size and write size of a MSD? (Read 11284 times)
mr_asadi
Member
Posts: 11
How to get read size and write size of a MSD?
«
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#?
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: How to get read size and write size of a MSD?
«
Reply #1 on:
February 10, 2013, 01:19:48 pm »
See the DriveInfo class, TotalSize property:
http://msdn.microsoft.com/en-us/library/system.io.driveinfo.aspx
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
How to get read size and write size of a MSD?