how to check if exe is set as LARGEADDRESSAWARE
<p>I am developing a C# program that will load files and get information such as loaded file created date, modification date, size etc. Another thing that I need to know is whether the loaded file (<code>executable.exe</code>) is linked with the <code>LARGEADDRESSAWARE</code> flag. The FileInfo class doesn't provide this information.</p>

<p>Does anyone know how in C# can I find out whether a given executable.exe is linked with the <code>LARGEADDRESSAWARE</code> flag (to handle addresses larger than 2 GB)?</p>
