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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

What's the encoding type of Android 2.2 push message? -

What do you think are the useless tags in HTML? -