C# example

I ahve been trying to compile up and tun the C# example using Visual C# Express 2010. There was an error/warning with the evt.handle. I though I was able to fix that using
SafeWaitHandle.DangerousGetHandle()
But I get an exception almost immediately when getting the driver version.
Any idea what I am doing wrong
SafeWaitHandle.DangerousGetHandle()
But I get an exception almost immediately when getting the driver version.
Any idea what I am doing wrong