Server Sided Variables

api.var is the function used to get a server sided variable value trough its name ( it needs the program to be initialized and the user to be logged in ) :


The var's name


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")) { // if the user could login successfully
                Console.WriteLine(auth_instance.var("var")); // get the variable with the name 'var'
            }
        }
    }