I have a C# application which is expected to run in both WIn 7 & Win XP. I need to check the OS NAME in my C# source code before distributing the MSI & EXE to customers.
Without getting into finer versioning details my code wants to check if it is a 32 bit WINDOWS XP or a 64-bit WINDOWS 7.
Can I kindly get help regarding this.
OS under consideration is 64-bit Win7 & 32-bit Win XP.