Пример #1
0
 /**
  * Instantiate RDP and Thread
  */
 public RdpClient()
 {
     port = 3389;
     hostname = "localhost";
     username = "******";
     domain = "";
     password = "";
     rdp = new RDP();
     thread = new Thread(() => ThreadProc(rdp));
 }
Пример #2
0
 /**
  * Instantiate RDP and Thread
  */
 public RdpSource(ISource iSource)
 {
     port = 3389;
     hostname = "localhost";
     username = "******";
     domain = "";
     password = "";
     rdp = new RDP();
     this.iSource = iSource;
     thread = new Thread(() => ThreadProc(rdp));
 }
Пример #3
0
 static void ThreadProc(RDP rdp)
 {
     while (procRunning)
     {
         rdp.CheckFileDescriptor();
         Thread.Sleep(10);
     }
 }
Пример #4
0
		/**
		 * Instantiate RDP and Thread
		 */ 
		public RdpClient()
		{
			rdp = new RDP();
			thread = new Thread(() => ThreadProc(rdp));
		}