How can I get the assembly last modified date?

Posted by Juan Manuel Formoso on Stack Overflow See other posts from Stack Overflow or by Juan Manuel Formoso
Published on 2009-04-29T20:48:00Z Indexed on 2010/04/20 14:23 UTC
Read the original article Hit count: 211

I want to render (for internal debugging/info) the last modified date of an assembly, so I know when was a certain website deployed.

Is it possible to get it though reflection?

I get the version like this, I'm looking for something similar:

Assembly.GetExecutingAssembly().GetName().Version.ToString();

ie: I don't want to open the physical file, get its properties, or something like that, as I'll be rendering it in the master page, and don't want that kind of overhead.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about reflection