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)?
Take a look at discutils. Might be what you want.
http://discutils.codeplex.com/