public WebManager(MainBot mainBot, WebData webd) { webData = webd; webListener = new HttpListener { AuthenticationSchemes = AuthenticationSchemes.Anonymous | AuthenticationSchemes.Basic, Realm = WebRealm, }; webListener.AuthenticationSchemeSelectorDelegate = AuthenticationSchemeSelector; InitializeSubcomponents(mainBot); }
public WebManager(WebData webData) { this.webData = webData; }