Environment.OSVersion : Environment Settings : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Environment Settings »

 

Environment.OSVersion








    
 

using System;

class MainClass {
    public static void Main() {
        Console.WriteLine("OS PlatformID : " + Environment.OSVersion.Platform);
        Console.WriteLine("OS Major Version : " + Environment.OSVersion.Version.Major);
        Console.WriteLine("OS Minor Version : " + Environment.OSVersion.Version.Minor);

    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Environment Settings