示例#1
0
        public WebManager(MainBot mainBot, WebData webd)
        {
            webData     = webd;
            webListener = new HttpListener
            {
                AuthenticationSchemes = AuthenticationSchemes.Anonymous | AuthenticationSchemes.Basic,
                Realm = WebRealm,
            };
            webListener.AuthenticationSchemeSelectorDelegate = AuthenticationSchemeSelector;

            InitializeSubcomponents(mainBot);
        }
示例#2
0
 public WebManager(WebData webData)
 {
     this.webData = webData;
 }