Ejemplo n.º 1
0
 /**
  * Instantiate RDP and Thread
  */
 public RdpClient()
 {
     port = 3389;
     hostname = "localhost";
     username = "******";
     domain = "";
     password = "";
     rdp = new RDP();
     thread = new Thread(() => ThreadProc(rdp));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 static void ThreadProc(RDP rdp)
 {
     while (procRunning)
     {
         rdp.CheckFileDescriptor();
         Thread.Sleep(10);
     }
 }
Ejemplo n.º 4
0
		/**
		 * Instantiate RDP and Thread
		 */ 
		public RdpClient()
		{
			rdp = new RDP();
			thread = new Thread(() => ThreadProc(rdp));
		}