Home > DeveloperSection > Forums > Get our OS is 64 bit or not using C#
Goti Bandu

Total Post:119

Points:835
Posted on    October-07-2013 8:44 AM

 C# C# 
Ratings:


 1 Reply(s)
 982  View(s)
Rate this:

I want to get our system is 64 bit or not can anybody provide me that’s code please.



Pravesh Singh
Pravesh Singh

Total Post:101

Points:709
Posted on    October-08-2013 1:11 AM

class Program

    {

        static void Main(string[] args)

        {

           if (Environment.Is64BitOperatingSystem)

                Console.Write("Your OS is 64 bit");

            else

                Console.Write("Your OS isn't 64 bit");

            Console.ReadKey();

        }

    }


Modified On Apr-12-2016 12:16:58 AM

Don't want to miss updates? Please click the below button!

Follow MindStick