public void Dispose() { if (handle != IntPtr.Zero) { SoundNativeMethods.SoundControlElementIdFree(handle); handle = IntPtr.Zero; } }