I am using IMAPIv2 to burn CD/DVDs in my C# project. I realized that the interface burns in XA-format (Mode 2). I believe XA-format is mainly used for ISOs. A lot of examples about IMAPIv2 on the web uses the following method to demonstrate total disc
space and free space:
Unfortunately, if I multiply 2048 * with TotalSectorsOnMedia as described above I will not get a correct Total Disc Capacity. When I burn a 800 MB capacity disc with IMAPIv2 then the above code will show that my disc capacity is somewhat around 650 MB. When
I check the disc with other software burners, i see that the mode is set XA. Is it possible to set this mode before burning? Also, how would I solve the issue of determining disc free space if there are sessions written in mode 1? Is it possible to learn in
which mode the disc is written?