private void btnGetDrive_Click(object sender, System.EventArgs e)
{
string[] drives = Environment.GetLogicalDrives();
foreach(string strDrive in drives)
{
listBox1.Items.Add(strDrive.ToString());
}
}
This should give you the list of all drives on a system
Hope this helps