コード例 #1
0
 public void Stop()
 {
     SetupServer.Close();
     if (res != null)
     {
         res.Close();
         res = null;
     }
 }
コード例 #2
0
        private Remote()
        {
            AutomationElement ae = AutomationElement.RootElement;

            System.Windows.Rect rt = ae.Current.BoundingRectangle;//화면 사이즈
            Rect = new Rectangle((int)rt.Left, (int)rt.Right, (int)rt.Width, (int)rt.Height);

            SetupServer.RecvRcInfo += new RecvRCInfoEventHandler(SetupServer_RecvRcInfo);
            SetupServer.Start(MyIP, NetworkInfo.SetupPort);
        }