How do you just return the hard drives on a pc
Posted on 2004-08-18
Hello I’m trying to get a list of all the local hard drives on a pc for an application.
I’m currently using System.IO.Directory.GetLogticalDrives
This works really well but returns things like the floppy drive, cd drive, network drives and flash sticks. Is there a way to just get the local hard drives returned.