I'm attempting to P/Invoke a C library. It requires me to pass a delegate which the library will store for later use.
Because I do not use this delegate later in managed code it gets collected. Easy enough to stop, but pinning it in one memory location is another story. Is this possible?