public void Dispose() { try { Delegator.Dispose(); } catch (DllNotFoundException) { // This eliminates an invalid call to a DLL that isn't present. GC.SuppressFinalize(Delegator); } }