Exemplo n.º 1
0
 public void Simple()
 {
     //place in a using so Subster knows when to un-map the drive
     using (var subster = new Subster(@"D:\LongDirectoryName"))
     {
         Debug.WriteLine(subster.DriveLetter);
         //peform operations against the shorter "DriveLetter"
     }
 }
Exemplo n.º 2
0
 public void Simple()
 {
     //place in a using so Subster knows when to un-map the drive
     using (var subster = new Subster(@"D:\LongDirectoryName"))
     {
         Debug.WriteLine(subster.DriveLetter);
         //peform operations against the shorter "DriveLetter"
     }
 }