Alex Rivera | Logout

How to detect if any specific drive is a hard drive?

Asked 2008-09-29T13:55:56.733
13

In C# how do you detect is a specific drive is a Hard Drive, Network Drive, CDRom, or floppy?

Edit
Report

1 Answer

3

Check System.IO.DriveInfo class and DriveType property.

answered 2008-09-29T13:57:56.383

Your Answer