static int Main(string[] args) { TwitterClient tc = new TwitterClient(); try { ShowAppInfo(); Initialize(); Settings.Load(); Statistics.Initialize(); return(tc.Run(args)); } catch (Exception ex) { ConsoleHelper.WriteException(ex); Console.ReadLine(); return(0); } }
static int Main(string[] args) { ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; // Tls12 TwitterClient tc = new TwitterClient(); try { ShowAppInfo(); Initialize(); Settings.Load(); Statistics.Initialize(); return(tc.Run(args)); } catch (Exception ex) { ConsoleHelper.WriteException(ex); Console.ReadLine(); return(0); } }