Closed NickHarmer closed 1 year ago
If you have a USB-SATA dock attached but there are no disks inserted, the code will not return any disks at all, because WMI returns the Size field for the device as NULL, which causes an exception.
Size
If you have a USB-SATA dock attached but there are no disks inserted, the code will not return any disks at all, because WMI returns the
Size
field for the device as NULL, which causes an exception.