filesystems - How to find the disk that holds a given partition in C#? -


does know way find out programatically physical disk holds given partition? manually, can find info using start->run->diskmgmt.msc , can see (on computer) partitions c: , d: on disk 1, e: & f: on disk 0.

this optimizing file crunching operations doing them in parallel if files on different physical disks.

you can obtain information using wmi system.management namespace quering win32_diskdrive class.

here's basic info wmi in .net.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -