namespace Renci.SshNet { public partial class Session { /// /// Gets a value indicating whether the socket is connected. /// /// true if the socket is connected; otherwise, false partial void IsSocketConnected(ref bool isConnected) { isConnected = (_socket != null && _socket.Connected); } } }