# String Encryption

String encryption makes it difficult for a hacker to understand your code and attempt a code patch of your assembly, as he will be unable to identify the text of messages or other useful strings, making it much more difficult to identify where to patch your code. This feature has built-in protection against assembly manipulation.

# Before protection

Strings visible before protection, decompiled with ILSpy
Strings visible before protection, decompiled with ILSpy

# After protection

Encrypted strings after protection, decompiled with ILSpy
Encrypted strings after protection, decompiled with ILSpy

# Related topics

Protection settings · Declarative Protection