PreEmptive Protection - Dotfuscator
Community Edition

Check Attributes

This page lists the attributes that control the injection of Checks.

All of the following attributes are defined in the PreEmptive.Attributes namespace, which for brevity will be omitted from the titles of the sections below.

Some properties are only recognized by Dotfuscator Professional Edition and are thus not listed in this documentation.

Note that injection in general is controlled by the Process PreEmptive analytics attributes global option. If this option is disabled, no code will be injected despite any attributes.

InsertTamperCheckAttribute

Indicates that Dotfuscator should inject a Tamper Check at the start of the annotated method.

  • Applied to: Method
  • Prerequisites
  • Properties
    • Action: The Action to take if the Check detects the application is tampered.
    • ApplicationNotificationSinkElement: Specifies a sink the injected code should use to inform the application of the Check's result.
      • May be a bool field or property; or a method, delegate field, or delegate method argument with signature void(bool).
      • "DefaultAction" is deprecated. Please set Action to "Exit" for the same behavior.
      • If "None" (default), the application is not notified of the Check's result.
    • ApplicationNotificationSinkName: Specifies the name of that sink.
    • ApplicationNotificationSinkOwner: Specifies the declaring type of that sink.

DebuggingCheckAttribute

Indicates that Dotfuscator should inject a Debugging Check at the start of the annotated method.

  • Applied to: Method
  • Prerequisites
  • Properties
    • Action: The Action to take if the Check detects a managed debugger is attached to the process.
    • ApplicationNotificationSinkElement: Specifies a sink the injected code should use to inform the application of the Check's result.
      • May be a bool field or property; or a method, delegate field, or delegate method argument with signature void(bool).
      • If "None" (default), the application is not notified of the Check's result.
    • ApplicationNotificationSinkName: Specifies the name of that sink.
    • ApplicationNotificationSinkOwner: Specifies the declaring type of that sink.

InsertShelfLifeAttribute

Indicates that Dotfuscator should inject a Shelf Life Check at the start of the annotated method.

A Shelf Life Activation Key is required to use this attribute.



Dotfuscator Version 5.27.0.4687. Copyright © 2017 PreEmptive Solutions, LLC