Variables

Variables make your program very secure and I highly recommend that you make use of them

Initial Setup:

How to call a variable:

All variables called from the Var method are returned as strings and must be converted back to their original data type by you (unless the variable is a string) e.g.

C#
Convert.ToInt32(api.captureVariable("Secure variable code"));
  1. Get a variable from your program. This can be any value e.g. boolean, int, double, string, char

  2. Go to the variables page of the website and create a new variable with a name of your choice and the value of the variable from your program

  3. Create the variable and go back to your program to replace the piece of data with the following code:

    C#
    api.captureVariable("Secure variable code");

If you are using the InitializeForm method, variables will automatically be grabbed when the user logs in.

Last updated