GET OUR OS IS 64 BIT OR NOT USING C#

Goti Bandu

Total Post:119

Points:835
Posted by  Goti Bandu
C# 
C#
 1213  View(s)
Ratings:
Rate this:

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

  1. Pravesh Singh

    Post:101

    Points:709
    Re: Get our OS is 64 bit or not using C#

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!