Instead of GetSystem
, use GetSystemInfo
. GetSystemInfo
gets the current value of system information without requiring a license.
HOperatorSet.GetSystemInfo("is_license_valid", out var info);
Console.WriteLine("License check returns: " + info.S);