FORUMS

[Q] Unlock Detection for Windows Phone 8

8 posts
Thanks Meter: 0
 
By sandro1900, Junior Member on 11th February 2014, 11:07 AM
Post Reply Subscribe to Thread Email Thread
Hello,

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.

Thanks,
Sandro
 
 
12th February 2014, 12:44 AM |#2  
Recognized Developer
Flag Seattle
Thanks Meter: 2,848
 
More
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes