/

Events Protection

Protection ID: events

This protection encodes and hides the events of your application.

This protection is available in the editions:

Enterprise Admits © Smart Native Protection System


Parameters

This protection has no parameters or settings.


Rules configuration

  • shield.config.json
{
  "protections": {
    "events": {}
  }
}

Modes

  • Default default : It encrypts and protects the application events and hides the original events call to any method.

Exclusions

  • Exclude with attribute

Include this attribute in your source code:

[Obfuscation(Exclude = false, Feature = "-events")]
  • Exclude from the interface

You can exclude this protection from the methods or classes you want.

Compatibility

FrameworkCompatibilityComments
.NET Core
.NET Framework
.NET (up to 8 version)
.NET Standard
Xamarin IOS
Xamarin Android
Xamarin MacOs
WPF
Blazor
.NET Maui
Unity
ASP
Silverlight
VBa (Visual Basic) or C# (CSharp)
WinRT

Shield is compatible with all versions of .NET, it doesn't matter if you use .NET 2.0, .NET 4.7, .NET Core 2.1 or Xamarin.Forms 5.0, it will adapt automatically according to needs, you don't have to worry about this.

Previous
Call Hiding