void sm_AccountStateChange(object sender, AccountStateEventArgs e) { /*Console.WriteLine("Account State:"); * Console.WriteLine(e.State.ToString()); * Console.WriteLine(e.Reason);*/ Refresh(); }
private void Sm_AccountStateChange(object sender, AccountStateEventArgs e) { registrationOK = e.State == pjsip_status_code.PJSIP_SC_OK; registrationFinished?.Set(); }