Protect data carried in code

Protect .NET strings and embedded resources

Strings and resources inside a distributed assembly can reveal how an application works. Confuser Studio applies encryption to eligible code literals and embedded resources, alongside the rest of your obfuscation settings.

Protect .NET strings and embedded resources
Concept illustration of the protection workflow.
한국어English日本語简体中文
Confuser Studio

Bring data and code protection together

Protect eligible string literals

Reduce the amount of readable code text left in a distributed assembly.

Protect embedded resources

Apply a resource protection option to eligible assets stored inside the assembly.

Save one project for the release

Combine string and resource settings with renaming and method protection, then reuse them from the CLI.

Confuser Studio

Configure protection around the data your app uses

Select string and resource encryption in the desktop protection options. After the job, inspect the transformation report to confirm what was applied. Run the protected app and check UI text, images and localization resources in the target environment. Source attributes can refine protection for selected code.

User manual

Get started in three steps

  1. Identify the targetDecide which code literals and embedded resources you want to protect.
  2. Save the optionsKeep string and resource encryption with the rest of the project settings.
  3. Review the outputCheck the transformation report and exercise UI text and resource loading.
Practical guides

Questions developers ask

What does string encryption cover?

It targets eligible string literals written in code. The job report shows the applied scope.

Can I protect images and localization files?

Eligible resources embedded in an assembly can use the resource protection option.

Can I use the same settings in CLI builds?

Yes. Save the tested options in a .cfsprj project and run it with the included CLI.

See the result in an assembly you built

Use the 7-day trial to try the options on your own app, then review the license for a production release.