What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 5188 |  Welcome, Guest!   Register  Login
 Home > Code Snippets > ASP.NET > Checking That the OS is 32bit or 64bit. ...
Gopesh9

Checking That the OS is 32bit or 64bit.

 Code Snippet posted by: Gopesh9 | Posted on: 8/16/2012 | Category: ASP.NET Codes | Views: 466 | Status: [Member] | Points: 40 | Alert Moderator   


private void GetOSSize()

{
string osSize;
if (Environment.Is64BitOperatingSystem == true )
{
osSize= "64 Bit";
}
else
{
osSize= "32 Bit";
}
Console.WriteLine("OS is {0}", osSize);
}


G. S.
.Net Developer
Found interesting? Add this to:


 Responses

Srilu.Nayini577
Posted by: Srilu.Nayini577 | Posted on: 8/17/2012 | Level: Starter | Status: [Member] | Points: 10 | Alert Moderator 

It works good.


SRILATHA
.Net Developer

>> Write Response - Respond to this post and get points

More codes snippets

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 7:12:43 PM