KestrunRuntimeInfo.TryGetMinVersion method

Returns the minimum TFM required for a feature, if known.

public static bool TryGetMinVersion(string featureName, out Version minVersion)
parameter description
featureName Feature identifier (case-insensitive).
minVersion When this method returns true, contains the minimum target framework version required for the feature. When it returns false, the value is set to 0.0 as a harmless placeholder.

Return Value

True if the feature is known; otherwise false.

See Also