I think you could just do this by using a copy method (My.Computer.FileSystem.CopyFile for example) to copy the files to the CD drive because thats all that happens when you do it through explorer. If you copy files into the D drive it will realise that this is a CD drive and will give the normal "you have files waiting" message. Never tried it through code though so cant say 100% whether or not this will work.
You will also have to put in a fair bit of checking first to 1. find out which drive is the CD drive (by looping through the Drives collection that you can get from My.Computer somewhere) and 2. Check (if possible) to see if the CD drive is actually capable of writing to disc and is not just a CD/DVD reader. Then of course you would have to think about what your app should do if there are already files sat waiting to be burnt etc etc

Hope that helps a bit though