Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Unlock Detection for Windows Phone 8

OP sandro1900

11th February 2014, 12:07 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Feb 2014
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, 01:44 AM   |  #2  
Recognized Developer
Flag Seattle
Thanks Meter: 2,772
 
5,823 posts
Join Date:Joined: Jan 2011
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