摘要:在DotNet Blog浏览的时候发现了这些代码,其实也是来自于MSDN中: 源代码
我使用一个WinForm测试了一下,在Windows XP下面运行非常好,
//Create a new instance of the XPBurn componentXPBurn.XPBurnCD cd = new XPBurn.XPBurnCD();
//Add files (file path, name of file to use for CDcd.AddFile(@"c:\pic1.jpg","pic1.jpg");
//... add all files...
/* Record Disc begins the process, Set 1st param to false if you want to actually burn the disk and not just simulate a burn Set 2nd param to true if you want the disc to eject after burn
*/
cd.RecordDisc(false, true);
...[
阅读全文]