示例#1
0
 public void CleanUp()
 {
     _client?.Disconnect();
     _server?.Disconnect();
 }
示例#2
0
 private async void DisconnectButton_Click(object sender, RoutedEventArgs e)
 {
     await _ws.Disconnect();
 }
示例#3
0
 private void DisconnectButton_Click(object sender, RoutedEventArgs e)
 {
     _ws.Disconnect();
 }