RuntimeInformation.OSDescription Property

Definition

Gets a string that describes the operating system on which the app is running.

public:
 static property System::String ^ OSDescription { System::String ^ get(); };
public static string OSDescription { get; }
static member OSDescription : string
Public Shared ReadOnly Property OSDescription As String

Property Value

An opaque string that describes the operating system on which the app is running.

Remarks

This property returns a string that describes the operating system for presentation to the user.

It's not recommended to parse the string for information.

Applies to