編集の要約なし
89行目: 89行目:
  using Renci.SshNet;
  using Renci.SshNet;
   
   
  var client = new SshClient("192.168.1.100", "username", "password");
  var client = new SshClient("192.168.1.100", "<ユーザ名>", "<パスワード>");
   
   
  try
  try
152行目: 152行目:
  </syntaxhighlight>
  </syntaxhighlight>
<br>
<br>
==== RunCommandメソッドとResultプロパティ ====
==== RunCommandメソッドとResultプロパティ ====
* コマンドの実行
* コマンドの実行