private void DisplayStreamProperties(SslStream stream) { logger.Debug(String.Format("Can read: {0}, write {1}", stream.CanRead, stream.CanWrite)); logger.Debug(String.Format("Can timeout: {0}", stream.CanTimeout)); }