Types of disk drives etc

  • Thread starter Thread starter trinitypete
  • Start date Start date
T

trinitypete

Using the framework you can use
Environment.GetLogicalDrives which gives a string array of
drives and mapped drives on the current system, but how
can you tell if the drive is a floppy, hard drive,network
drive etc.

Thanks in advance Pete.
 
-----Original Message-----
Using the framework you can use
Environment.GetLogicalDrives which gives a string array of
drives and mapped drives on the current system, but how
can you tell if the drive is a floppy, hard drive,network
drive etc.

Thanks in advance Pete.

.
Found the Answer - WMI via System.Management class - also
has a whoile heap of useful objects for accessing general
machine/application/config etc.

Thanks anyway Pete.
 
Hi Pete, Thanks for the tip on the Management class... Something new to play with<G> Glad you were able to resolve the problem..


Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 
Back
Top