Login

api.login is the function used to login a user with these arguments ( it needs the program to be initialized first ) :


The username you want to login


The username's password


(Optional) the user's hwid


Code-Example

    class Program {
        public static api auth_instance = new api("program version", "program key", "api key");

        static void Main(string[] args) {
            auth_instance.init();

            if(auth_instance.login("user", "pass"))
                Console.WriteLine("success");
        }
    }