[Mono-dev] FileStream SafeFileHandle constructor

Miguel de Icaza miguel at novell.com
Sat May 12 10:43:03 EDT 2007


Hello,

>      This patch implements the FileStream constructor taking a
> SafeFileHandle. It just uses the underlying handle at this point;
> Miguel suggested a few things for a complete solution, with my
> preference being make SafeFileHandle internal at 1.0 and use it inside
> of FileStream instead of an IntPtr (Miguel please correct if I
> misunderstood). I can look at that as well, if that sounds like a good
> solution.

Yes, exactly.

For now the quick fix + the extra constructor that you need is probably
what you need for your app.



More information about the Mono-devel-list mailing list