tommazzo
3rd November 2005, 00:05
Hi!
I want to use Cdrecord to burn some data to a cd or dvd from my C# program. I know that in order to obtain a list of available drives you have to launch cdrecord with the parameter -scanbus. This gives you a list of your drives.
Can someone give me a hint on what exactly to parse this list for? If I execute the program manually I can distinguish the drives from the other data, however what do I have to parse for programatically?
Also -scanbus returns all cd/dvd drives, regardless whether they are burners or not. How can I filter out the burners?
Thanks already in advance!
I want to use Cdrecord to burn some data to a cd or dvd from my C# program. I know that in order to obtain a list of available drives you have to launch cdrecord with the parameter -scanbus. This gives you a list of your drives.
Can someone give me a hint on what exactly to parse this list for? If I execute the program manually I can distinguish the drives from the other data, however what do I have to parse for programatically?
Also -scanbus returns all cd/dvd drives, regardless whether they are burners or not. How can I filter out the burners?
Thanks already in advance!