PutioFS.Windows.WinMounter.TryUnmount C# (CSharp) Method

TryUnmount() public method

public TryUnmount ( object Sender, EventArgs e ) : void
Sender object
e System.EventArgs
return void
        public void TryUnmount(object Sender, EventArgs e)
        {
            PutioDokanOperations._DokanUnmount(this.DriveLetter);
            try
            {
                this.PutioFileSystem.CleanUp();
            }
            catch { }
            Mounted = false;
            this.MainWindow.ToggleMountUnmount(Mounted);
        }