I'd like to offer my users correct links to an upgraded version of my program based on what platform they're running on, so I need to know whether I'm currently running on an x86 OS or an x64 OS.
The best I've found is using Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")
, but I would think there would be some built-in facility for this?