Assembly date ?

  • Thread starter Thread starter Just D.
  • Start date Start date
J

Just D.

We all know hot to get the Assembly name and version. Can we get the
assembly compilation date and how can we get this datetime if it's possible?
It's not a very good idea to get the file DateTime because this is the
WebApp and even if we get this DateTime it can be wrong. Do we have some
field or parameter in the strong assembly having this datetime to get it as
a string?

Just D.
 
Hello,
Can we get the assembly compilation date and how
can we get this datetime if it's possible?

I don't think the assembly compilation date is stored anywhere in the
assembly itself. But in my opinion the file system timestamp should quite
reliably reflect the compilation date and time.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Thanks Jani,

The problem is that we're working with the WebApp and getting the file
datetime on the server side from the WebApp is not simple process - to
create and register some kind of assembly, give all required permissions and
finally get the required datetime. Yes, it's possible, but it takes some
programming around that. I was wondering if there is an easier way to get
the same. Maybe not.

Just D.
 
Back
Top