protected override void OnDisposing() { if (this.handle != IntPtr.Zero) { int ret = ACBrDll.ECF_Destroy(ref this.handle); CheckResult(ret); } }
protected override void Dispose(bool disposing) { if (this.handle != IntPtr.Zero) { ACBrDll.ECF_Destroy(ref this.handle); this.handle = IntPtr.Zero; } if (disposing) { GC.SuppressFinalize(this); } }