Helllo, i need programmatically open VHD file with C#, after that write inside this file. It is possible to do it? Thanks for yours answers.
How to programmatically read VHD fileHow to programmatically read VHD file
Page 1 of 1
2 Replies - 3918 Views - Last Post: 26 November 2010 - 01:17 PM
Replies To: How to programmatically read VHD file
#2
Re: How to programmatically read VHD file
Posted 21 November 2010 - 09:25 AM
You can open a vhd file like every other file. But as I assume you want to write files to it (thus having to know about the filesystem) it would be easier to mount the VHD file first (see http://msdn.microsof...684(VS.85).aspx) and access it by drive letter.
This post has been edited by elbielefeld: 21 November 2010 - 09:25 AM
#3
Re: How to programmatically read VHD file
Posted 26 November 2010 - 01:17 PM
elbielefeld, on 21 November 2010 - 08:25 AM, said:
You can open a vhd file like every other file. But as I assume you want to write files to it (thus having to know about the filesystem) it would be easier to mount the VHD file first (see http://msdn.microsof...684(VS.85).aspx) and access it by drive letter.
Thanks for your answer. This artical was very helpful. If you know maybe you can explain more how programicall to attach Vhd file. In this article i found Syntax, but i am new in this area so i have no ideas where this code to write
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|