RuntimeInformation.RuntimeIdentifier Property

Definition

Gets the platform on which an app is running.

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

Property Value

String

An opaque string that identifies the platform on which the app is running.

Remarks

This property returns a string that identifies the operating system, typically including the version and processor architecture of the currently executing process.

Since this string is opaque, it's not recommended to parse the string into its constituent parts.

For more information, see .NET Core RID catalog.

Applies to