Displaying Data
Once a program is initialized and a user is logged in, you can display information about the application as well as the user. Below is a list of items that you can display:
:::info
All items are a string, so should only be displayed as one.
:::
Username:KeyAuthApp.user_data.username;
IP Address:KeyAuthApp.user_data.ip;
Hardware-ID (HWID):KeyAuthApp.user_data.hwid;
Created on:UnixTimeToDateTime(long.Parse(KeyAuthApp.user_data.createdate));
:::info
Please note that "UnixTimeToDateTime" is a function within the csharp example and may be different depending on the programming language that you are using for your application.
:::
Application Version:KeyAuthApp.app_data.version;
Customer Panel Link:KeyAuthApp.app_data.customerPanelLink;
Download Link:KeyAuthApp.app_data_downloadLink;
Number of Keys:KeyAuthApp.app_data_numKeys;
Number of Users:KeyAuthApp.app_data_numUsers;
Number of Online UsersKeyAuthApp.app_data_numOnlineUsers;
:::info
Displaying the number of online users will display the users that has a ACTIVE session.
:::