# Control Flow Obfuscation

Control Flow Obfuscation converts the code inside your methods into spaghetti code, which whilst retaining the function of the code makes it extremely difficult for human eyes and decompilers to follow the program logic. Decompiler are not able to decompile the spaghetti code back to your original source code.

# Before protection

Method code before protection, decompiled with ILSpy
Method code before protection, decompiled with ILSpy

# After protection

Method code after control flow obfuscation, decompiled with ILSpy
Method code after control flow obfuscation, decompiled with ILSpy

# Related topics

Protection settings · Declarative Protection