I hate being negative about something, but I see a few issues with your wrapper that would stop me (personally) from using it:

1. your code doesn't follow the C# coding conventions at all and this is a really big issue as far as I am concerned because, especially in larger projects, continuity of style is important to ensure maintainability
2. there is no validation whatsoever anywhere in your wrapper
3. nested classes should not be used in the way you used them
4. the statement in your first post "withouth the use of unsafe code !" is obviously wrong since most of your code is unsafe and when the methods in your wrapper are called, unsafe code is executed - it's just less obvious.

Michael


Your friendly mod is at your service.