static void Main(string[] args) { string _client_id = "<yourClientID>.apps.googleusercontent.com"; string _client_secret = "<YourClientSecret>"; GAAutentication Autentication = new GAAutentication(); Autentication.initAnaltyics(_client_id, _client_secret); if (Autentication.service == null) { Console.WriteLine("User declined Autentication. Can not continue/n"); var name = Console.ReadLine(); } else { Program.ListMenu(Autentication); } }