DeepSea Obfuscator 2009 - page 29

Obfuscation Reference 29
© 2009 TallApplications BV
true) or leave them as is (if false). If you do not specify the /internal argument, all types
are unchanged. You can use the make-internal feature to exclude certain types or
namespaces.
Example
The following attribute will inject all types from PrivateAssembly.dll into the current
assembly.
[assembly:Obfuscation(Feature="inject /a:PrivateAssembly.dll")]
Other attribute properties
Exclude
Ignored
ApplyToMembers
Ignored
Targets
Assembly
4.1.10 Change namespace feature
Instruct the obfuscator to change (leading parts) of the a namespace to another
namespace. This is typically used to make OEM derivatives or class libraries.
Format
Obfuscation(Feature="change-namespace
/from:<namespace> /to:<namespace>")
All namespaces that start with the /from argument will be renamed to the /to argument
followed by the remainder of the namespace.
Example
The following attribute will change all namespaces that start with MyCompany to MyOem
followed by the remainder of the namespace.
Obfuscation(Feature="change-namespace /from:MyCompany /to:MyOem")
The result:
MyCompany
» MyOem
MyCompany.Forms
» MyOem.Forms
MyCompany.UI.Controls
» MyOem.UI.Controls
Another.MyCompany
» Another.MyCompany
MyCompany2.Forms
» MyCompany2.Forms
1...,19,20,21,22,23,24,25,26,27,28 30,31,32,33,34,35,36,37,38,39,...47
Powered by FlippingBook