[Mono-osx] DriveInfo.GetDrives

Natalia Portillo claunia at claunia.com
Fri Mar 12 17:05:51 EST 2010


I need to get information about CD/DVD/BD drives.

Considering Carbon is deprecated, there is no other way (calling the  
IOKit for example with a P/Invoke)?

El 12/03/2010, a las 22:04, Tomasz Muszyński escribió:

> Why do You need this on Mac? Drives are just directories on  
> filesystem. You can find mounted drives in /Volumes.
>
> Otherwise look at this API:
> http://developer.apple.com/mac/library/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/c/func/FSGetVolumeInfo
>
> tm
>
> Wiadomość napisana przez Natalia Portillo w dniu 2010-03-12, o godz.  
> 19:46:
>
>>
>> Hi,
>>
>> As it is not implemented how could we enumerate drives in Mac OS X  
>> under
>> Mono?
>> -- 
>> View this message in context: http://n4.nabble.com/DriveInfo-GetDrives-tp1590936p1590936.html
>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>



More information about the Mono-osx mailing list