forked from yck1509/ConfuserEx
-
-
Notifications
You must be signed in to change notification settings - Fork 380
Resources Protection
Martin Karing edited this page Nov 23, 2019
·
3 revisions
ID: resources
Preset: Normal
Availability:
This protection encodes and compresses the embedded resources.
-
mode
: This parameter define the way ConfuserEx encodes the resources. Supported values are:-
normal
: ConfuserEx would use static algorithms with random parameters to encode the resources. (default) -
dynamic
: ConfuserEx would use dynamically generated algorithms to encode the resources.
-
<protection id="resources">
<argument name="mode" value="dynamic" />
</protection>
The resources are decompressed and decoded upon loading the assembly, so they can be properly accessed. This has an impact on the startup performance when using an assembly with this protection.
If the protection is only used for the sake of the compression and the
compressor
packer is used as well, this protection should be disabled to
avoid the compression to be applied twice.