/// <summary> /// Constructor. /// </summary> /// <param name="drive">The drive of the device.</param> public Device(PhysicalDrive.DriveInfo drive) { this.Drive = drive; this.Partition = null; }
/// <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; }