How can i get a free size on CD



I have use code in VB to burn a multisession with nerocom.
Now i want to get a size used or a free size in CD if i have burn a sessions ago.
Thanks a lot.


inside your sub that handles your nero.OnDoneCDInfo you need to do this-

dim remainingspace as integer = Math.Round((pCDInfo.FreeCapacityInBlocks * 2) / 1024)

that will give you the free space in mb’s. just for your information, pCDInfo provides your free capacity in blocks, where one block = 2048 bytes