How to identify given DLL is WIN32 or .NET assembly?

Discussion in 'ASP .Net' started by Gnanaprakash Rathinam, Mar 15, 2005.

  1. Hi All,

    Is there a way to identify given .dll is WIN32 or .NET assembly by looking
    into PE headers?

    Thanks,
    GP.
     
    Gnanaprakash Rathinam, Mar 15, 2005
    #1
    1. Advertising

  2. >Is there a way to identify given .dll is WIN32 or .NET assembly by looking
    >into PE headers?


    Yes. Assemblies (or rather the modules that make up the assembly) have
    a CLI header (IMAGE_COR20_HEADER) pointed to by data directory #15 in
    the PE header.



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.
     
    Mattias Sjögren, Mar 15, 2005
    #2
    1. Advertising

  3. Gnanaprakash Rathinam

    Alain Leroy Guest

    You can always use "ildasm.exe".

    "Gnanaprakash Rathinam" <> a écrit dans le
    message de news: flvZd.26$...
    > Hi All,
    >
    > Is there a way to identify given .dll is WIN32 or .NET assembly by looking
    > into PE headers?
    >
    > Thanks,
    > GP.
    >
    >
     
    Alain Leroy, Mar 17, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TiBTIFM=?=
    Replies:
    3
    Views:
    563
    David Jessee
    Aug 29, 2004
  2. Pranav Kantawala
    Replies:
    5
    Views:
    758
    P.Hill
    Feb 25, 2004
  3. Lord0
    Replies:
    1
    Views:
    581
    Thomas Weidenfeller
    Apr 19, 2006
  4. chiara
    Replies:
    6
    Views:
    490
    Barry Schwarz
    Oct 6, 2005
  5. Ezmeralda
    Replies:
    1
    Views:
    823
    mlimber
    Apr 3, 2007
Loading...

Share This Page