Exemplo n.º 1
0
 public void CloseOutputSession(TimeSpan timeout)
 {
     if (channel.State != CommunicationState.Closing)
     {
         channel.ThrowIfDisposedOrNotOpen();
     }
     channel.socket.Shutdown(SocketShutdown.Send);
 }