public void Mount(char c, Atonline.Rest.Drive dr, bool saveSetting = false) { if (_mountedDrives.ContainsKey(c)) { return; } var d = new Atonline.VirtualDrive(c, dr); _mountedDrives.Add(c, d); d.Mount(); StoreMountedDriveSettings(); }
public VirtualDrive(char driveLetter, Rest.Drive data) { DriveLetter = driveLetter; Provider = new DriveProvider(data); }
public DriveProvider(Rest.Drive drive) { Drive = drive; _root = new FSNode(Drive.Root); }