.NET classes to manage Windows Virtual Storage (VHD and VHDX) using P/Invoke functions from VirtDisk.dll.
Enum | Description | Values |
---|---|---|
Vanara.IO.VirtualDisk.CompactionMode | Compaction options for Vanara.IO.VirtualDisk.CompactAsync(Vanara.IO.VirtualDisk.CompactionMode,System.Threading.CancellationToken,System.IProgress{System.Int32}) . |
Full, Quick, Retrim, Pretrimmed, Prezeroed |
Vanara.IO.VirtualDisk.DeviceType | Represents the format of the virtual disk. | Unknown, Iso, Vhd, Vhdx, VhdSet |
Vanara.IO.VirtualDisk.Subtype | Represents the subtype of a virtual disk. | Fixed, Dynamic, Differencing |
Class | Description |
---|---|
Vanara.IO.VirtualDisk | Class that represents a virtual disk and allows for performing actions on it. This wraps most of the methods found in virtdisk.h. |
Vanara.IO.VirtualDisk.VirtualDiskMetadata | Supports getting and setting metadata on a virtual disk. |
Vanara.IO.VirtualDiskSetInformation | Provides information about a VHD Set file. |
Vanara.IO.VirtualDiskSettingData | Contains information about a virtual hard disk file. |
Vanara.IO.VirtualDiskSnapshotInformation | Provides information about a snapshot within a VHD Set file. |