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)?
Asked
Active
Viewed 3,137 times
2
-
http://technet.microsoft.com/en-us/library/bb676673.aspx :P – cHao Dec 07 '13 at 17:54
-
Do you mean you just want to open it as a disk you can write to using C#? – PCG Dec 07 '13 at 17:54
2 Answers
1
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)."

hmd.ai
- 1,163
- 11
- 13