Register

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


The username you want to register


The username's email


The username's password


A token to register and activate a sub


(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.register("user", "email", "pass", "token"))
                Console.WriteLine("success");
        }
    }