Dotfuscator User's Guide


The InsertSignOfLifeAttribute sends a message each time a method instrumented with this attribute is called. At runtime, the sign of life code will send a message indicating that the application has been executed. In order to use Sign Of Life your application must contain methods marked with a Setup and Teardown attribute. Do not put the InsertSignOfLife attribute on the same method containing the Setup Attribute. Methods with this attribute must be executed after the method containing the Setup Attribute.

Dotfuscator will remove this custom attribute from the metadata after instrumentation.

Copy Code
public sealed class InsertSignOfLifeAttribute : Attribute

Constructor Members

Name Summary
InsertSignOfLifeAttribute() Initializes a new instance of the class.

Property Members

Name Summary
ActivationKeyFile : String The path to the Shelf Life Activation Key file.

ExtendedKeyMethodArguments : String

A pattern indicating which parameter names and values should be automatically added to the messages extended key data at runtime.  See Automatically Sending Method Parameters as Extended Keys for details on supported patterns.

ExtendedKeySourceElement : SourceElements Indicates how to access the extended key dictionary at runtime, at the time that the attributed method is called (e.g. a field, property, method, or method parameter). To use this property, ExtendedKeySourceName must also be set. If ExtendedKeySourceElement is a field, method, or property, ExtendedKeySourceOwner must also be set unless the field, method or property is defined on the same class as the attributed method.
ExtendedKeySourceName : String The name of the property, field, method, or method parameter that will contain the extended key dictionary at runtime, at the time that the attributed method is called. If this property is set, ExtendedKeySourceElement is required to be set as well. If this property is not set, Dotfuscator will not generate code to send extended key information.
ExtendedKeySourceOwner : Type If the ExtendedKeySourceElement is a field, method or property, ExtendedKeySourceOwner indicates the name of the type that defines the field, method or property. If not set, the named source element is searched for on the attributed method’s type.
See Also





© 2016 PreEmptive Solutions, LLC. All Rights Reserved.