if (System.Environment.Is64BitOperatingSystem == true) { Label.Text = "x64"; } else { Label.Text = "x32"; }