private void ProgressionStatusReceived(bool ProgressionStatus) { if (ProgressionStatus) { PROBA.Register("Username", false); //or //PROBA.Register("Username", true); } else { PROBA.Register("Username", true); } }