AppContext::TargetFrameworkName Property

 

Gets the name of the framework version targeted by the current application.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
property String^ TargetFrameworkName {
	static String^ get();
}

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
Return to top
Show: