Function endpoint_sec::version::set_runtime_version

source ·
pub fn set_runtime_version(major: u64, minor: u64, patch: u64)
Available on macOS only.
Expand description

Setup the runtime version of macOS, detected outside of this library.

Conservatively, this library assumes the default is 10.15.0 and will refuse to use functions that only became available in later version of macOS and Endpoint Security.

Methods on Client will check this version when calling a function only available in macOS 11+ for example.

§Panics

Will panic if attempting to set a version below 10.15.0.