RuntimeInformation.FrameworkDescription Property

Definition

Gets the name of the .NET installation on which an app is running.

public static string FrameworkDescription { get; }

Property Value

The name of the .NET installation on which the app is running.

Remarks

The property returns a string that indicates the name of the currently executing .NET implementation. The string starts with one of the following descriptions, usually followed by the current version:

  • ".NET" (for .NET 5 and later versions)
  • ".NET Core" (for .NET Core 1.0 - 3.1)
  • ".NET Framework"
  • ".NET Native"

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1