Activate

api.activate is the function used to activate a expired user's sub or to extend his sub ( it needs the program to be initialized first ) :


The username you want to activate


The token that'll be used to activate his sub



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