예제 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="drive">The drive of the device.</param>
 public Device(PhysicalDrive.DriveInfo drive)
 {
     this.Drive     = drive;
     this.Partition = null;
 }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="drive">The drive of the device.</param>
 /// <param name="partition">The partition of the drive.</param>
 public Device(PhysicalDrive.DriveInfo drive, uint partition)
 {
     this.Drive     = drive;
     this.Partition = partition;
 }