Exemple #1
0
        public async Task SetPartitionType()
        {
            var sut  = new LowLevelApi();
            var disk = await sut.GetPhoneDisk();

            var volumes = await sut.GetVolumes(disk);

            var volume = volumes.Single(x => x.Label == "BOOT");

            await sut.SetPartitionType(volume.Partition, PartitionType.Esp);
        }