Check if a Process is 64-bit

Some software must behave differently depending upon whether it is running as a 32-bit or 64-bit process. .NET applications can be compiled to work in either mode, so detecting the execution mode is important.