» Back to Documentation

Converting between System.IntPtr and wrapper objects

Sometimes it becomes necessary to pass or receive an IntPtr and be able to cast it to an interface to use it. IntPtr, in this case, would be the unmanaged pointer to your object.