[Mono-bugs] [Bug 660907] System.IO.DriveInfo.GetDrives is unimplemented on Windows

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 21 18:03:45 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=660907

https://bugzilla.novell.com/show_bug.cgi?id=660907#c1


--- Comment #1 from Vincent Povirk <madewokherd at gmail.com> 2010-12-21 23:03:44 UTC ---
Created an attachment (id=405896)
 --> (http://bugzilla.novell.com/attachment.cgi?id=405896)
patch

This is a patch that implements the functionality.

I have changed DriveFormat to raise an exception on Windows because I noticed
that Windows can list drives that do not currently have media inserted (they
are not "ready"). For a non-ready drive, accessing the DriveFormat property
will raise an exception. This leads me to believe the format should be detected
after the object's creation.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list