Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

In Unity, does anyone know exactly what is behind the scenes of Application.genuine?

More specifically, I would like to understand its exact process so I can understand:

  1. If I can use it safely without "false negatives".
  2. If it considers text (or other) assets stored in a Resources folder (e.g. my level config files).

Just for context, I want to say that my target platform is iOS.

share|improve this question

1 Answer 1

I assume it's just using a checksum over the binary to determine whether there have been any modifications. I don't think it would verify/check any external resources. Have you tried some black box testing with it?

To say for sure you'd have to look into the source code, which again might be something people with the source code license might not be allowed to reveal. You could use a disassembler to track the code, but that's probably quite a bit tedious to do.

share|improve this answer
    
Thanks. Thats what I suspected as well. In this case, its uses are very limited... I haven't tested to see if I can make it return false yet, this will probably be my next step. –  DannyB Jun 7 '13 at 12:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.