Types of disk drives etc

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.
 
T

trinitypete

-----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.
 
S

Scot Rose [MSFT]

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


--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top