Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Application.genuineCheckAvailable

public static bool genuineCheckAvailable;

Description

Returns true if application integrity can be confirmed.

Otherwise returns false.

Note: Use Application.genuineCheckAvailable along with Application.genuine to verify app integrity. Accessing the Application.genuine property is a resource-intensive operation, so do not call it during frame updates or other time-critical code.

You can use this as part of an anti-piracy check. See iOS advanced mobile scripting and Android advanced mobile scripting for more information.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答