public BasicCommandReturn SetSystemSecurityLevel(SecurityLevels SecurityLevel) { if (!Enum.IsDefined(typeof(SecurityLevels), SecurityLevel)) { throw new Exception("The Security Level is not a valid level for the device!"); } return(SetSystemParam(SystemParam.SecurityLevel, (byte)SecurityLevel)); }
public void SetSecurityLevel(SecurityLevels level) { this.SecurityLevel = level; }
public void SetSecurityLevel(SecurityLevels level) { this.SecurityLevel = level; }