Usually this is not a problem, and if you're running 64-bit application on a 64-bit machine, it's fine.
However, process.MainModule.FileName
when executed by 32-bit process on a 64-bit process results in following exception:
A 32 bit processes cannot access modules of a 64 bit process.
Is there any other good way of finding the full path of a running process, which would work from 32 bit process on 64-bit process?