Create a new OperatingSystem object with the specified PlatformID and Version values.
- platform
- PlatformID for the newly created OperatingSystem object.
- version
- Version of the newly created OperatingSystem object.
printsC# Example
using System; class SystemDemo { public static void Main(string[] args) { OperatingSystem o=new OperatingSystem(PlatformID.Win32NT,new Version(5,1,2600,0)); Console.WriteLine(o); } }Microsoft Windows NT 5.1.2600.0
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0