Ejemplo n.º 1
0
        public WebServer(WebConfig wc)
        {
            ws  = new HttpListener();
            ac  = new Access("");
            _wc = wc;

            ws.Prefixes.Add("http://" + wc.IPAddress + ":" + wc.Port + "/");
            ws.Prefixes.Add("http://localhost:" + wc.Port + "/");

            LoggerModule.Init();
            ErrorProvider.Init(ac, _wc);
        }