.NET Framework Bookmark and Share   
 index > Common Language Runtime > .NET equivalent of FindFirstVolume
 

.NET equivalent of FindFirstVolume

Guys,

Whats the .NET equivalent of FindFirstVolume and FindNextVolume???? Is there one??

Boulderdude
Try System.IO.DriveInfo.GetDrives()
nobugz
Try System.IO.DriveInfo.GetDrives()
nobugz
FindFirstVolume seems to return Raw volumes, whereas getdrives does not. Is there a .NET function to return all volumes.
The command line utility mountvol displays raw unformatted volumes, as does findfirstvolume, but not getdrives.
ChrisInCal

You can use google to search for other answers

Custom Search

More Threads

• Windows service migrated from 1.1 to 2.0 version gives error
• system.formatexception which shuts down my application without warning.
• System.Runtime.InteropServices.InvalidComObjectException adding and detaching COM event
• is this a memory leak?
• HOW-TO: Use Enterprise Services to notify Windows app of ASP.NET activity
• The IAsyncResult object provided does not match this delegate
• impersonating the user initiating an action over the network
• PrincipalPermission preventing assembly calling its own methods
• Using GACUTIL on Vista with PowerUser rights or Copy manually dll´s to C:Windows\Assembly
• Loading plugins from a partial-trust Application Domain