#
Anti Tampering
This option prevents your protected assembly from being tampered/modified by hacker tools.
#
Runtime checks
At runtime your protected assembly performs several binary integrity checks.
The checks require access to the protected assembly as a physical file. They cannot inspect an assembly which only exists in memory or whose runtime Assembly.Location is empty. Review this requirement when using bundled single-file or similar deployment models.
#
Combine Anti Tampering with important methods
Selected methods can combine Anti Tampering and Code Virtualization:
- One-Time Integrity Virtualization (
VirtualizationOneTimeIntegrity) embeds a guarded one-time check in the virtualized method. - Repeated Integrity Virtualization (
VirtualizationRepeatedIntegrity) executes the embedded check whenever the virtualized method is called.
Use these variants for important, infrequently called methods. Repeated integrity checks are not suitable for performance-sensitive paths.
Required settings
Enable both Anti Tampering and Code Virtualization in the .NET Reactor protection settings. The attributes only select the marked methods; they do not enable Code Virtualization or Anti Tampering by themselves.
Version requirement
One-Time Integrity Virtualization and Repeated Integrity Virtualization require .NET Reactor 7.7.0.0 or later.
#
Related topics
Code Virtualization · ReadyToRun · Trimming problems