Search notes:

System.Runtime.InteropServices.GCHandle (class)

System.Runtime.InteropServices.GCHandle provides a way to access a managed objects from unmanaged memory.
IsAllocated true or false, indicating if the object is allocated. Used in combination with weak handles.
Target The System.Object that the handle represents.
AddrOfPinnedObject() Returns a System.IntPtr to the object data. The returned pointer is stable because AddrOfPinnedObject() prevents the garbage collector from moving around the object. For strings, the method returns the address of the first character, for arrays the address of the first element.
Alloc() Prevents a managed object from being collected by the garbage collector.
Equals()
Free()
FromIntPtr Get a GCHandle from an IntPtr handle to a managed object.
GetHashCode
ToIntPtr

Index