Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public VirtualDrive(char driveLetter, Rest.Drive data)
 {
     DriveLetter = driveLetter;
     Provider    = new DriveProvider(data);
 }
Exemplo n.º 3
0
 public DriveProvider(Rest.Drive drive)
 {
     Drive = drive;
     _root = new FSNode(Drive.Root);
 }