Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (UserInfo.User != null)
     {
         var channel = new Channel("localhost", 5001, ChannelCredentials.Insecure);
         var client  = new User.UserClient(channel);
         var re      = client.Logout(new LogoutModel());
     }
 }