Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
How can we get Volume ### information through c# code for all Disk partitions of any system.
Posted

1 solution

One approach is this: use native Windows API through P/Invoke.

Look here for a set of volume management functions: http://msdn.microsoft.com/en-us/library/aa365730(v=vs.85).aspx[^], http://msdn.microsoft.com/en-us/library/aa365728(v=VS.85).aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900