Assembly compilation data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Soren Staun Jorgensen

    #1

    Assembly compilation data

    Hi,

    Is it possible (at runtime) to get the DateTime of when the current assembly
    was created - or better compiled ??

    I could of course check the file creation date of the assembly, but this
    wouldn't be accurate is the file was copied or moved from one computer to
    another ??

    Are this info present in the metadata of the assembly ??

    Soren


  • Jeffrey Tan[MSFT]

    #2
    RE: Assembly compilation data


    Hi Soren,

    It seems of that the create time(compile time) of the assembly does
    not contains in the metadata(you can view it with the tool ildasm.exe)

    So the file property "create time" will be the close to precision time data.

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    --------------------
    | From: "Soren Staun Jorgensen" <no@spam.com>
    | Subject: Assembly compilation data
    | Date: Fri, 19 Sep 2003 08:56:28 +0200
    | Lines: 14
    | X-Priority: 3
    | X-MSMail-Priority: Normal
    | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    | Message-ID: <Oi#dpsnfDHA.21 52@tk2msftngp13 .phx.gbl>
    | Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
    | NNTP-Posting-Host: 0x50c70a5c.adsl-fixed.tele.dk 80.199.10.92
    | Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
    | Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1859 97
    | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
    |
    | Hi,
    |
    | Is it possible (at runtime) to get the DateTime of when the current
    assembly
    | was created - or better compiled ??
    |
    | I could of course check the file creation date of the assembly, but this
    | wouldn't be accurate is the file was copied or moved from one computer to
    | another ??
    |
    | Are this info present in the metadata of the assembly ??
    |
    | Soren
    |
    |
    |

    Comment

    Working...