ZForge.Win32.RemovableDriveDetector.Dispose C# (CSharp) Method

Dispose() public method

Unregister and close the file we may have opened on the removable drive. Garbage collector will call this method.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            RegisterForDeviceChange(false, null);
        }