I'm developing in .net, but can use c++. I'm looking for a way to create a disk image. Ideally there could be an API somewhere that looks like this:
createVMDK(string driveLetter, out string pathToVMDKOutputfile);
createVHD(string driveLetter, out string pathToVHDOutputfile);
Does anyone know of any API from Microsoft, VMWare or other that allows for the creation of full disk images like this?