title: How to determine the platform tag of a .net exe
body: <p>When I compile a .net program I can tell it to compile for /platform:anycpu or /platform:x86 etc. Is there someway I can determine what platform value a .net exe/dll has been compiled with?</p>
  
  <p>See my answer below for a program that determines the platform flag. Or use corflags.exe.</p>