.NET DiscUtils

.NET DiscUtils is an open source .NET software library, hosted on Microsoft's CodePlex site for accessing and manipulating virtual disk images. The library is entirely written in C#, making it suitable for use in low privilege environments.

Sample utilities

A number of utilities for inspecting, converting and modifying virtual disk images are available from the .NET DiscUtils download page. These illustrate how to use the library.

Registry support

In addition to providing access to file systems within virtual disk images, the library also supports access to registry hives stored on the virtual disk images.

Format support

.NET DiscUtils supports several disk image formats, partitioning schemes and Windows file systems.

Disk image file formats

  • VHD
  • VMDK
  • VDI
  • ISO (UDF is not supported)
  • SDI
  • WIM
  • Raw disk images (IMA, IMG, VFD, FLP)

Partition schemes

  • BIOS Partition Table
  • GUID Partition Table
  • Logical Disk Manager

File systems

  • FAT
  • FAT32
  • NTFS

Note: FAT and FAT32 does not include support for long file names.

Virtual appliance formats

.NET DiscUtils supports just the Xen Virtual Appliance (XVA) file format.