Exemplo n.º 1
0
 internal override void Close()
 {
     if (!Closing && !Closed)
     {
         Logger.Debug("Closing RemoteDesktop Proxy to local service");
         Closing = true;
         if (_proxy != null)
         {
             _proxy.Close();
         }
         Closing = false;
         Closed  = true;
         _proxy  = null;
     }
 }
Exemplo n.º 2
0
 // This is called by the RDP Function, so stop listening and terminate connections
 internal override void Close()
 {
     if (!Closing && !Closed)
     {
         Logger.Debug("Closing RemoteDesktop ServerProxy");
         Closing = true;
         if (_proxy != null)
         {
             _proxy.Close();
         }
         _proxy  = null;
         Closing = false;
         Closed  = true;
     }
 }