[Mono-dev] SafeFileHandle & FileStream

gpz22 sonny.alves-dias at numeri4d.com
Wed Feb 24 05:16:49 EST 2010


I have some trouble to use a library into my project. The library is
WiimoteLib, and it uses a SafeFileHandle to generate a FileStream to get and
send data to the wiimote. But like I saw on this article : 
There is an issue with FileStream when you create it with a SafeFileHandle.

So I am looking for a solution to remediate to this. Is there a way to use
another type of Stream to manipulate connection with a device ? 
In the article, it is written to use a wrapper, what does it mean ? 

You can see the code of connection of the wiimote on their website : 
At the paragraph : The Exciting World of HID and P/Invoke

View this message in context: http://n4.nabble.com/SafeFileHandle-FileStream-tp1567248p1567248.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list