public void onInit()
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onInitDelegate(onInit), new object[] { });
                return;
            } // if (InvokeRequired)


            cPluginParams.HostApplication.Register(this);
            setGUIActive();
            cPluginParams.HostApplication.PluginSetStatus(this, "grey");
            cTask.onInit();
        }
        public void onInit()
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onInitDelegate(onInit), new object[] { });
                return;
            } // if (InvokeRequired)

            PluginParameters.HostApplication.Register(this);
            setGUIActive();
            PluginParameters.HostApplication.PluginSetStatus(this, "grey");

            WebServerConfig lWebServerConfig = new WebServerConfig();

            lWebServerConfig.BasisDirectory  = Config.BaseDir;
            lWebServerConfig.isDebuggingOn   = false;
            lWebServerConfig.isRedirect      = false;
            lWebServerConfig.RedirectToURL   = String.Empty;
            lWebServerConfig.RemoteHostName  = String.Empty;
            lWebServerConfig.onWebServerExit = onWebServerExited;

            cTask.onInit(lWebServerConfig);
            cAccountPatterns = cTask.readAuthenticationPatterns();
        }