コード例 #1
0
        public async Task AssignLetter()
        {
            var sut       = new LowLevelApi();
            var phoneDisk = await sut.GetPhoneDisk();

            var partitionToFormat = (await sut.GetPartitions(phoneDisk)).Single(x => x.Number == 6);
            var toAssign          = await sut.GetVolume(partitionToFormat);

            await sut.AssignDriveLetter(toAssign, 'I');
        }