« Return to Thread: System.DriveInfo class bugs

System.DriveInfo class bugs

by UngaWunga :: Rate this Message:

Reply to Author | View in Thread

Interesting behavior with the System.DriveInfo class DriveInfo.GetDrives()

Seems that if the drive is in etx2 format, the AvailableFreeSpace, FreeSpace, and TotalSize are set to the TotalSize value. If the drive is a different format, only the TotalSize is returned, the other values being set to 0.

All the other values (Name. Drive Type, Drive Format, etc) are returned correctly.

Actually, now that I take a second look, the TotalSize returned is incorrect and the same for all drives.

I'm using mono 1.2.4 on Slackware. Any ideas? Or is this a bug?

Thanks

Rob


Check out the hottest 2008 models today at Yahoo! Autos.
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

 « Return to Thread: System.DriveInfo class bugs