Currently I am using Diskpart (Windows command line utility) to manage disks and assign drive letters.
Disk 0 is present almost 99.99% scenarios, however, I need to check for the disk 1 and disk 2 all the time.
If disk 1 is present, assign letter 'Z' to partition 1 and 'X' to partition 2 (if exists). Otherwise, check if disk 2 is present and if yes assign letter 'M' to partition 1 and so on.. as in below screenshot.
Can same check /configured using VB.Net?