/

Anti ILDasm

Protection ID: anti_ildasm

This protection marks the module with an attribute that prevents ILDasm.

The 'Anti_ildasm' protection will not take effect for .NET 6 or newer versions, according to the official documentation.

Using 'Anti_ildasm' will be compatible with older versions, such as .NET 5 or earlier. However, if your application is .NET 6 or newer, this protection will be ineffective. Instead, use another Shield protection to prevent decompilation.

This protection is available in the editions:

Developer Startup Enterprise


Parameters

This protection has no parameters or settings.


Rules configuration

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

Modes


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
Quick Start