I have a given .vhd-File and want to edit it programmatically in C# WITHOUT MOUNTING IT. Does anyone know how to do this(possibly with an api or library)?
How to edit Virtual Hard Drives(vhd) with C#?
3.2k views Asked by LostPhysx At
2
There are 2 answers
0
On
you can use discutils: http://discutils.codeplex.com/
"DiscUtils is a .NET library to read and write ISO files and Virtual Machine disk files (VHD, VDI, XVA, VMDK, etc). DiscUtils is developed in C# with no native code (or P/Invoke)."
Take a look at discutils. Might be what you want.
http://discutils.codeplex.com/