RuntimeInformation.RuntimeIdentifier Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.