Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » GCHandles » GC   (RSS)
Sorry, but there are no more tags available to filter with.

GCHandles, Boxing and Heap Corruption

A GCHandle is a struct used to hold onto a managed object to be used by unmanaged code. With a GCHandle you can (among other things): Prevent an object from being garbage collected if unmanaged code has the only live reference to it Pin an object in memory,
Posted by clyon | 9 Comments
Filed under: ,
 
Page view tracker