Using C#, I would like to create a method that retunrs whether my machine is 64 or 32-bit.
Is there anybody who knows how to do that?
public static string t2or64() { string t2s4; bool os = System.Environment.Is64BitOperatingSystem; int x = 0; if (os == true) { x = 64; } else { x = 32; } t2s4 = Convert.ToString(x); return t2s4; }