# Add simple GUI for device ID and security threat
#
The AppSealing library within your App is automatically activated when right after App has launched. If AppSealing library has detected any abnormal environment (such as jailbroken-device, executable has decrypted or debugger has attached) it will close the app after 20 seconds irrespectively of user action, so the app should notify the detection result to user and show some proper message box for user can recognize there's some invalid environment in his/her device.
If you want to show that message box in your app, you can easily do that by modifying one letter of code in Plugins/AppSealingPlugin/Source/AppSealingPlugin.cpp file. To show message box just replace 0 to 1 in line 56.
Your app will show simple message box like below when you run app on abnormal device.
AppSealing SDK generates and manages unique identifier for each device. Customer who use the AppSealing SDK can use the interface of AppSealing to verify the device unique identifier, if necessary. And can be used for the business using the hacking data service provided by AppSealing.
If you want to show the Device ID message box in your app, you can easily do that by modifying one letter of code in Plugins/AppSealingPlugin/Source/AppSealingPlugin.cpp file by replacing 0 to 1 in line 31.