예제 #1
0
        private static void AttemptLoginBot(string username, string password, string api)
        {
            Console.ForegroundColor = ConsoleColor.Green;
            string hidenAPI = api.Substring(api.Length - 10) + "**********";
            string data     = String.Format("Username : {0}  Password : X  API : {1}", username, hidenAPI);

            Console.WriteLine(data);
            Console.ForegroundColor = ConsoleColor.White;
            logininfo = new LoginInfo(username, password, api);
            steambotManager.Auth(logininfo);
        }
예제 #2
0
        private static void AttemptLoginBot(string username = "", string password = "", string api = "")
        {
            if (username.Length == 0)
            {
                Console.WriteLine("Bot's steam username :"******"Bot's steam password :"******"Bot's steam API :");
                api = Console.ReadLine();
            }

            logininfo = new LoginInfo(username, password, api);

            steambotManager.Auth(logininfo);
        }