Exemple #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);
        }
Exemple #2
0
 public WebManager(WebData webData)
 {
     this.webData = webData;
 }