Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
RuntimeInformation.FrameworkDescription Property
Definition
- Namespace:
- System.Runtime.InteropServices
- Assemblies:
- netstandard.dll, System.Runtime.dll
- Assemblies:
- netstandard.dll, System.Runtime.InteropServices.RuntimeInformation.dll
- Assembly:
- System.Runtime.InteropServices.RuntimeInformation.dll
- Assembly:
- mscorlib.dll
- Assembly:
- netstandard.dll
- Source:
- ProductVersionInfo.g.cs
- Source:
- ProductVersionInfo.g.cs
- Source:
- RuntimeInformation.cs
- Source:
- RuntimeInformation.cs
- Source:
- ProductVersionInfo.g.cs
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 name of the .NET installation on which an app is running.
public:
static property System::String ^ FrameworkDescription { System::String ^ get(); };
public static string FrameworkDescription { get; }
static member FrameworkDescription : string
Public Shared ReadOnly Property FrameworkDescription As String
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
Feedback
Was this page helpful?
