Remove All Ads from XDA

[Q] Unlock Detection for Windows Phone 8

8 posts
Thanks Meter: 0
By sandro1900, Junior Member on 11th February 2014, 12:07 PM
Post Reply Email Thread

is there any strategies or pattern to code an unlock detection mechanism fro apps that targets Windows Phone 8? - in order to prevent the installation of the XAP itself, if the targeted device is interop-unlocked.

12th February 2014, 01:44 AM |#2  
Inactive Recognized Developer
Flag Seattle
Thanks Meter: 2,921
You can't prevent installation. You could put a check at app initialization that causes the app to exit immediately, by checking something like the MaxUnsignedApp registry value, but reading the registry isn't officially supported so a Store app doing it would probably be blocked.

It's a pretty pointless thing to check for anyhow; anybody who wants to could decompile the app, figure out the check, and work around it (for example, by temporarily dropping interop-unlock when the app starts). Jailbreak detection is, and always has been, a lost cause and a waste of effort.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes