I am running a .net 5 Windows service process, which cannot be complied to AnyCPU.
For the user compatible reason(some client still use 32 bit Windows), I need to build it to x86 App.
When I try to enum the details of a x64 process on x64 Windows, it said a x86 process cannot do so.
Is there a workaround to get the x64 process’s exact running path on x64 Windows?
e.g. running another x64 bit process and communicate with the process to get process info, but it’s not graceful way. I wanna know if any better way exists?
Source: Windows Questions