コード例 #1
0
ファイル: RemoteSystem.cs プロジェクト: etteyafed/NepConSharp
 public RemoteSystem(RemoteSystem info)
 {
     this.Name = info.GetName ();
     this.Host = info.GetHost ();
     this.GatewayName = info.GetGatewayName ();
     this.IsGateway = info.GetIsGateway ();
     this.User = info.GetUser ();
     this.Port = info.GetPort ();
     this.Protocol = info.GetProtocol ();
     this.AuthType = info.GetAuthType ();
     this.AuthKey = info.GetAuthKey ();
 }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: etteyafed/NepConSharp
 private void InsertSystem(RemoteSystem _system)
 {
     var connState = (_system.IsConnected () ? Connected : Disconnected);
     systemListStore.AppendValues (_system.GetName (), _system.GetHost (), connState);
 }