Session.SilverlightShared.cs 446 B

1234567891011121314
  1. namespace Renci.SshNet
  2. {
  3. public partial class Session
  4. {
  5. /// <summary>
  6. /// Gets a value indicating whether the socket is connected.
  7. /// </summary>
  8. /// <param name="isConnected"><c>true</c> if the socket is connected; otherwise, <c>false</c></param>
  9. partial void IsSocketConnected(ref bool isConnected)
  10. {
  11. isConnected = (_socket != null && _socket.Connected);
  12. }
  13. }
  14. }