I want to render (for internal debugging/info) the last modified date of an assembly, so I'll know when a certain website was deployed.
Is it possible to get it through reflection?
I get the version like this:
Assembly.GetExecutingAssembly().GetName().Version.ToString();
I'm looking for something similar -- 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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…