Variables

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

Make sure you are logged in before attempting to get any app or user variables!

static async void Main(string[] args)
{
// Getting user vars
string userData = await FusionApp.GetUserVar("VARNAME");
Console.WriteLine(userData);
// Setting user vars
await FusionApp.SetUserVar("VARNAME", "NEWVALUE");
// Getting app vars
string appData = await FusionApp.GetAppVar("VARNAME");
Console.WriteLine(appData);
}

Application vars can be set through your config page on our site but user vars must be set through the code.