[Mono-dev] DriveInfo implementation
lordhabbit at gmail.com
Mon Dec 3 18:37:16 EST 2007
I would like to help in the implementation of the System.IO.DriveInfo
class, which as of now is semi-functional in Linux and little more
than a stub in Windows. However, after thinking a bit about it, I've
come to the conclusion that the methods that discover the volumes in
the system (*GetDrives) require P/Invoke at the very least (windows),
and possibly even unmanaged code (linux).
The point of this message is asking for directions and rules on this
matter. Is unmanaged code (at all) allowed? Can I create a portable
"interface" (not necessarily a .NET interface) and then a separated,
system-dependant implementation? How are those platform-dependant
switches managed in the Mono autoconf files? Etcetera.
I would appreciate any pointers on the matter.
More information about the Mono-devel-list