Click here to Skip to main content
15,886,791 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello to all.
Given a finalized cd/dvd media containing data, I need to retrieve the
date when media was burned ( or finalized in the case of a multisession disk ).
I thought it would be (pretty) trivial, but after a lot of googling I don't
think so anymore :-(.
Neither System.IO.DriveInfo nor WMI will give this information (AFAIK).
Nero Info Tool gives this information, but I would avoid using it since
it may not be installed on the client machine.
Is there a way to do that in C# ?
I am using C# Express 2010 .
Any hint will be much appreciated .
Thank you in advance .
Jack
Posted

1 solution

It is part of the disk file system specification. I am not wondering, that Nero is capable of reading it :)
See: http://pierrelib.pagesperso-orange.fr/filesystems/introduction_to_iso9660.pdf[^]
Appendix A, Table 14, Page II Primary Volume Descriptor / Volume Creation Date and Time

You might find interesting source her: http://isocs.codeplex.com/[^]
 
Share this answer
 
Comments
jack_griffin 20-Jan-13 7:07am    
So I need to use an external library . Fair enough : I'll study it .
Much obliged for the prompt answer and the links !
Zoltán Zörgő 20-Jan-13 8:22am    
You are welcome. Actually I suggest you google a little bit further using these keywords. Might happen to find a more direct implementation - or guidance to do it yourself. You actually need to read several bytes from the disk, but with some lower level api, I suppose.
This might be interesting too: http://www.vbaccelerator.com/home/NET/Code/Libraries/Writing_CDs/IMAPI/article.asp
jack_griffin 20-Jan-13 9:17am    
I will do that, but searching for libraries this time. I googled enough to know that there is not a direct way to do what I am after.
I rarely ask questions directly and did it as a last resort. Usually, a little research on the web gives you a solution or at least some good hints with no need to ask .
And there is a LOT of C# stuff on the web.
It's funny that I did not find anybody asking for the same thing.I guessed that retrieving such data is a pretty common situation.
Zoltán Zörgő 20-Jan-13 9:24am    
I understand. As I see, only a handful geeks are interested in finding the media creation date :) Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900