Dotfuscator User's Guide
Tamper Reporting

To detect tampering, place InsertTamperCheck attributes on one or more methods in the application that are always executed. When Dotfuscator encounters an InsertTamperCheck attribute during its processing, it adds code that performs an assembly level integrity check at runtime. If the integrity check fails, it sends a tamper detected message to a PreEmptive Analytics Endpoint. It also calls code that exits the application or any other application defined code (see Tamper Actions). InsertTamperCheck attributes are not required at runtime; therefore, Dotfuscator strips them from the output application.

An application can contain any number of InsertTamperCheck attributes. In the event that an application has been tampered with, multiple tamper detected messages from the same application session will be sent with the same group Id.

Do not put this attribute on the same method containing the Setup Attribute. Methods with this attribute must be executed after the method containing the Setup Attribute.

InsertTamperCheck Attribute
Copy Code
[PreEmptive.Attributes.InsertTamperCheck()]
public void DoStuff() { ... }

 

 


© 2016 PreEmptive Solutions, LLC. All Rights Reserved.

www.preemptive.com