System.OperatingSystem

This class supplies information about an operating system such as the version and the platform identifier. A platform identifier is simply an enumerated constant that indicates the type of platform, such as Windows NT.

Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.