# Command Line Parameters

Beside GUI acces you can also access the functionality of IntelliLock through command-line parameters.

Command Line Parameters Description
-project <file> Path to your IntelliLock project file.
-licensed In case IntelliLock is NOT running as full version no files will be protected and IntelliLock will return the return/exit code 101.
-masterkeyfile <file> Path to your Master Key file.
-q[uiet] Specifies quiet mode; suppresses the display of success messages
-merge [1/0] Merge assemblies defined with command line switch -file.
[1] = Enable
[0] = Disable {default}
-destination <destination> Destination path of your processed assemblies.
-file <file> Filename of a .NET assembly you want to process with IntelliLock. You can select multiple .NET assemblies with multiple -file switches
The following marked switches can be used in conjunction with the -file switch:
-pvkfile <file> Private Key File
-pfx_spc_file <file> Software Publisher Certificate File
-pfx_pvk_password <text> Private Key File/Certificate File Password
-exclude [1/0] Exclude this assembly from protection. No protection/lock features are applied to the assembly. The assembly can be still merged with the main assembly.
[1] = Enable
[0] = Disable {default}
-mono [1/0] Assembly targets Mono.NET.
[1] = Enable
[0] = Disable {default}
-pack [1/0] Pack Assembly as embedded resource in the main assembly.
[1] = Enable
[0] = Disable {default}
-snkeypair <file> Strong Name Key Pair file (.snk/.pfx)
-snpassword <text> Strong Name Key Pair file password
-stringencryption [1/0] String Encryption
[1] = Enable {default}
[0] = Disable
-advanced_stringencryption [1/0] Advanced String Encryption
[1] = Enable {default}
[0] = Disable
-patchprotection [1/0] Code Patch Protection
[1] = Enable {default}
[0] = Disable
-suppressildasm [1/0] Suppress ILDASM
[1] = Enable {default}
[0] = Disable
-snremoval [1/0] Strong Name Removal Protection
[1] = Enable {default}
[0] = Disable
-ilencryption [1/0] Encrypt IL Code
[1] = Enable
[0] = Disable {default}
-invalidmetadata [1/0] Inject Invalid Metadata
[1] = Enable {default}
[0] = Disable
-controlflow [1/0] Control Flow Obfuscation
[1] = Enable
[0] = Disable {default}
-controlflow_level <number> Control Flow Obfuscation Level (1-9)
-obfuscation [1/0] Obfuscation
[1] = Enable {default}
[0] = Disable
-unprintable_chars [1/0] Use Unprintable Characters
[1] = Enable
[0] = Disable {default}
-shortstrings [1/0] Generate Short Strings
[1] = Enable
[0] = Disable {default}
-incremental_obfuscation [1/0] Incremental Obfuscation
[1] = Enable
[0] = Disable {default}
-mappingfile [1/0] Create Mapping File
[1] = Enable
[0] = Disable {default}
-exclude_enum [1/0] Exclusions - Enums
[1] = Enable
[0] = Disable {default}
-exclude_events [1/0] Exclusions - Events
[1] = Enable
[0] = Disable {default}
-exclude_fields [1/0] Exclusions - Fields
[1] = Enable
[0] = Disable {default}
-exclude_methods [1/0] Exclusions - Methods
[1] = Enable
[0] = Disable {default}
-exclude_namespaces [1/0] Exclusions - Namespaces
[1] = Enable
[0] = Disable {default}
-exclude_properties [1/0] Exclusions - Properties
[1] = Enable
[0] = Disable {default}
-exclude_serializable [1/0] Exclusions - Serializable Types
[1] = Enable
[0] = Disable {default}
-exclude_types [1/0] Exclusions - All Types
[1] = Enable
[0] = Disable {default}
-regularexpressions <text> Exclusions - Regular Expressions
-include_allparameters [1/0] Inclusions - All Parameters
[1] = Enable
[0] = Disable {default}
-include_alltypes [1/0] Inclusions - All Types
[1] = Enable
[0] = Disable {default}
-expirationdays [1/0] Expirations Days Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-expirationdays_value <number> Expiration Days Lock - Value
-expirationdate [1/0] Expirations Date Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-expirationdate_value <date> Expiration Date.
format:
[year/month/day] e.g. '2010/2/25'
-executions [1/0] Executions Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-executions_value <number> Executions Lock - Value
-runtime [1/0] Runtime Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-runtime_value <number> Runtime Lock - Value
-global [1/0] Global Time Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-global_value <number> Global Time Lock - Value
-instances [1/0] Instances Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-instances_value <number> Instances Lock - Value
-custom [1/0] Custom Lock Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-exp_behaviour_all [1/0] Expiration Behaviour ALL
[1] = Enable {default}
[0] = Disable
-run_without_license [1/0] Run Without Valid License
[1] = Enable {default}
[0] = Disable
-search_resource [1/0] Search License In Embedded Resources
[1] = Enable {default}
[0] = Disable
-search_hdd [1/0] Search License On HDD
[1] = Enable {default}
[0] = Disable
-shutdown [1/0] Shutdown Process After Expiration
[1] = Enable
[0] = Disable {default}
-licensename <text> License Name Of The License File
-dialog_nag [1/0] Dialogs - Nag Screen - Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-dialog_nag_value <text> Dialogs - Nag Screen - Message
-dialog_nolicense [1/0] Dialogs - No Valid License File Found - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_nolicense_value <text> Dialogs - No Valid License File Found - Message
-dialog_date [1/0] Dialogs - On Expiration Date - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_date_value <text> Dialogs - On Expiration Date - Message
-dialog_days [1/0] Dialogs - On Expiration Days - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_days_value <text> Dialogs - On Expiration Days - Message
-dialog_executions [1/0] Dialogs - On Expiration Executions - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_executions_value <text> Dialogs - On Expiration Executions - Message
-dialog_runtime [1/0] Dialogs - On Expiration Runtime - Enabled/Disabled
[1] = Enable
[0] = Disable {default}
-dialog_runtime_value <text> Dialogs - On Expiration Runtime - Message
[1] = Enable {default}
[0] = Disable
-dialog_global [1/0] Dialogs - On Expiration Global Time - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_global_value <text> Dialogs - On Expiration Global Time - Message
[1] = Enable
[0] = Disable {default}
-dialog_instances [1/0] Dialogs - Instances - Enabled/Disabled
[1] = Enable {default}
[0] = Disable
-dialog_instances_value <text> Dialogs - Instances - Message
[1] = Enable {default}
[0] = Disable

# Example Combinations:

INTELLILOCK.exe -file "c:\testapp.exe"
INTELLILOCK.exe -file "c:\testlib.dll" -destination "c:\test\testlib.dll"
INTELLILOCK.exe -project "c:\myproject.ilproj" -obfuscation 0
INTELLILOCK.exe -file "c:\testapp.exe" -project "c:\myproject.ilpro"
INTELLILOCK.exe -file "c:\testapp.exe" -project "c:\myproject.ilproj" -q
INTELLILOCK.exe -file "c:\mainapp.exe" - file "c:\mylib1.dll" - file "c:\mylib2.dll"
INTELLILOCK.exe -file "c:\mainapp.exe" - file "c:\mylib1.dll" exlcude 1 - file "c:\mylib2.dll" - exlucde 0
INTELLILOCK.exe -file "c:\testapp.exe" -expirationdays 1 -expirationdays_value 28 -dialog_nag 1