GangsDrive.GangsDriver.Mount C# (CSharp) Method

Mount() public method

public Mount ( ) : void
return void
        public virtual void Mount()
        {
            if (IsMounted)
                return;

            this._isMounted = true;
            OnMountChanged(new connector.MountChangedArgs(_isMounted));
            (this as IDokanOperations).Mount(this.MountPoint, DokanOptions.DebugMode, 5);
        }

Usage Example

コード例 #1
0
 private void DriverThreadMethod()
 {
     try
     {
         driver.Mount();
     }
     catch (DokanException ex)
     {
         MessageBox.Show("Error : " + ex.Message);
     }
 }