Search code examples
c#windows-7cd-burning

Burn files to CD using c#


I am writing a program that downloads images to the hard drive and then I want to burn the folders that those are all divided up into, on a cd. I don't want to create and image to burn, I just want to take all those folders and files and burn them to disc just like they are on the hard drive. Anyone know of a way to do this in C#?

I am using Windows 7 and Visual Studio 2008.


Solution

  • IMAPI2 - version 2 of the IMAPI API - is native to Windows 7 and is the preferred interface.

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa366457(v=vs.85).aspx