Esempio n. 1
0
        public void GetDriveSerialNumber()
        {
            var result = DriveHelper.GetDriveSerialNumber(DriveHelper.GetFixedDrives().PickRandom().Name);

            base.Consumer.Consume(result);
        }
 public void GetDriveSerialNumberTest()
 {
     Assert.IsNotNull(DriveHelper.GetDriveSerialNumber(@"c:\"));
 }
        public void GetDriveSerialNumberTest()
        {
            var drive = DriveHelper.GetFixedDrives().First();

            Assert.IsNotNull(DriveHelper.GetDriveSerialNumber(drive.Name));
        }