Is there a way to save a cdstamp?


I wrote an application, that burns multisession cd’s and none multisession. The program has a feature to save a project (like nero does, it saves the pathes to the harddrive). For none-multisession cd this works great, but I don’t know, how I should save a continued multisession.

I’m searching for a way to ensure that the cd is inserted, which was inserted when a project was saved. Would be a job for a cdstamp, but I don’t know how I can save that to project-file.