Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fiinix
Old
#1  
fiinix's Avatar
Recognized Developer - OP
Thanks Meter 218
Posts: 568
Join Date: Oct 2010
Location: Stockholm

 
DONATE TO ME
Question [Q] Prevention of pirated apps question

From multiple sources (http://www.nextbestgeek.com/2010/12/...s-phone-7-app/, http://www.djawirlabs.com/1855/) i have heard that its possible to track down pirated apps by searching for a xml in the xap, the one thing i wonder, "have one person passed with this though submission process"?

Coder > submission process > add of "WMAppPRHeader.xml" > Marketplace ?

That above is the way i think it is, but if submission does not have "WMAppPRHeader.xml" in xap, the "checkers" will have a auto exit application if coded that way. Or is it?:

Coder > add of "WMAppPRHeader.xml" > submission process > Marketplace ?

Code:
        public static bool IsHackedMarketplaceApp()
        {
#if DEBUG
            return false;
#endif

#pragma warning disable
            try
            {
                var content = System.Xml.Linq.XDocument.Load("WMAppPRHeader.xml");
                return false;
            }
            catch
            {
                return true;
            }
#pragma warning restore
        }
Samsung Omnia 7
- ATO MAGLDR v2
Windows Phone 7

The hottest geek girl in the world SassiBoB, SassyBoB, Sassy BoB, sassibob
May the Thanks's button be with me at all time Luke Skywalker
 
l3v5y
Old
#2  
l3v5y's Avatar
Retired Senior Moderator
Thanks Meter 35
Posts: 7,390
Join Date: Sep 2007
Location: Bristol

 
DONATE TO ME
Without having a "is WMAppPRHeader.xml" present, if not "enter password" type setup, it won't be possible to have apps that work and pass certification.

With the password part, you can add a tester note in the submission forms with a password/method for installing that should get checked.

The alternative is the "IsTrial()" method with a lot of obfuscation surrounding any mentions of it.

Both of these methods are possible to get round with a moderate knowledge of C# and .Net Reflector, but with obfuscation it's a hell of a lot harder.
 
abgary
Old
#3  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: Oct 2007
Obfuscation make it a lot difficult, but ive seen an obfuscator for pc that i used once, if we obfucate using that then reflector or any other program i tried to disassemble it crashed. Though i didnt check with hhd hex editor neo. for sure redgates reflector and another prog i used had no luck..

According to chevron group app piracy wont work when nodo update comes, not cox side loading wont work but the way they handle homebrew and marketplace app it seems
 
Post Reply+
Tags
wmappprheader
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...