Take a look at discutils. Might be what you want.
How to edit Virtual Hard Drives(vhd) with C#?
-
30-08-2022 - |
题
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)?
解决方案
其他提示
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)."
不隶属于 StackOverflow