コード例 #1
0
 public CtrSshClient(HostNameAndPort host, RioUpdater rioReference)
 {
     _rioReference = rioReference;
     _client       = new SshClient(host.GetHostName(), "admin", "");
     _client.ConnectionInfo.Timeout = new TimeSpan(0, 0, 0, 0, 6000);
     _client.Connect();
 }
コード例 #2
0
 public RioUpdater(HostNameAndPort host)
 {
     if (host != null)
     {
         _started = true;
         _host    = host;
     }
 }
コード例 #3
0
 public CtrSshClient(HostNameAndPort host, RioUpdater rioReference)
 {
     _rioReference = rioReference;
     _client       = new SshClient(host.GetHostName(), "admin", "");
     _client.Connect();
 }