AppContext::TargetFrameworkName Property
Gets the name of the framework version targeted by the current application.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::String^The name of the framework version targeted by the current application.
The name of the target framework version corresponds to the value of the TargetFrameworkAttribute::FrameworkName property. For a list of target framework names for the .NET Framework, see the <supportedRuntime> Element element.
.NET Framework
Available since 4.7
Available since 4.7
Show: