title: Is there a way to check if an exe is dot NET with python pefile?
body: <p>I am trying to write a simple python script; preferably with pefile that can tell me if an exe or dll file is compiled .NET. I know that I can look for the string 'BSJB' to see if the program was written in .NET, but I am trying to do this in a more pythonic manner than using grep and strings. Running pefile.PE('my.exe').dump_info() gives me some great info, but not enough to pinpoint if it is infact dot Net or what version of dot Net. </p>
  
  <p>Thanks! </p>