Exemple #1
0
 private void _btnRemoveBindings_Click(object sender, EventArgs e)
 {
     FormHelper.ValidateIsNotEmpty(_txtRemoveUser.Text, "user");
     SendRequest(() =>
     {
         var request = CreateRegisterRequest(_txtRemoveUser.Text);
         request.Contacts.Add(SipContactHeader.CreateWildCard());
         request.Expires = HeaderFactory.CreateExpiresHeader(0);
         return(request);
     });
 }