PROPERTY
RuntimeInformation.FrameworkDescription
Reports a descriptive name of the runtime currently executing the application. Do not treat the string as a project target framework moniker or a supported semantic-version protocol.
Formal Syntax & Structure
csharp syntaxcsharp
RuntimeInformation.FrameworkDescriptionWorking Example
Example Snippetcsharp
using System;using System.Collections.Generic;using System.Runtime.InteropServices;Console.WriteLine(RuntimeInformation.FrameworkDescription); // Environment-dependent