Method IsVersionOrGreater
IsVersionOrGreater(int, int, int)
Determines whether the current framework version is equal to or greater than the specified version.
public static bool IsVersionOrGreater(int major, int minor, int build)
Parameters
major
intThe major version to compare.
minor
intThe minor version to compare.
build
intThe build version to compare.
Returns
- bool
true
if the current framework version is equal to or greater than the specified version; otherwise,false
.