I need a C# class to write a file to a CD/DVD. This class would have a method that accepts a filename and a drive letter. The class would write that file out to the CD or DVD. The calling code would look something like this:
MediaHelper helper = new MediaHelper();
[login to view URL] ("F:\", "c:\[login to view URL]");
This class must be in Visual Studio 2008 or 2010 and C#, and MUST work under both Windows XP and Windows 7. No third party components, please.
There should also be methods in the class to Finalize and Format the CD/DVD. There should also be a simple test client supplied that I can use to test the class.