Esempio n. 1
0
 public static void Main(string[] args)
 {
     Log ("Afc bot v. 2.0.1");
     ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
     Configuration.Read();
     Log ("Connecting to wiki");
     en = new DotNetWikiBot.Site("en.wikipedia.org", Configuration.UserName, Configuration.Password);
     Log ("Initializing all tasks");
     Task1.exec();
 }
Esempio n. 2
0
 public static void Main(string[] args)
 {
     try
     {
         Configuration.LoadXML();
         DotNetWikiBot.Site site = new DotNetWikiBot.Site("en.wikipedia.org", Configuration.username, Configuration.password);
     }
     catch (Exception fail)
     {
         ExceptionHandler(fail);
     }
 }
Esempio n. 3
0
        public static void Main(string[] args)
        {
            try
            {
                Configuration.LoadXML();
                DotNetWikiBot.Site site = new DotNetWikiBot.Site("en.wikipedia.org", Configuration.username, Configuration.password);

            }
            catch (Exception fail)
            {
                ExceptionHandler(fail);
            }
        }