Contents 

Introduction
Welcome
Features
System Requirements
User Interface
Overview
The Main Menu
The Main Panel
The Tasks Panel
Command Line Parameters
GUI Elements
Addtional Files
Additional License Information
License File Settings
License Manager
Main Assembly
Master Key
Licensing System
Understanding The License System
How Locks Work
Hardware Identity Specific Licensing
SDK
General Information
License.dll
LicenseGen.exe
LicenseGenWrapper.dll
StackTraceDeobfuscator.dll
Definitions
Application Protection Mode
Console Application
Create Sub Directories
EvaluationLock
HardwareLock
Library Protection Mode
License File
Mapping File
Merge Assemblies
NecroBit
Obfuscation
Tools
Hardware ID Tool Generator
License Examiner Tool
License Invalidation Tool
License Reactivation Tool
Stack Trace Deobfuscator
ShareIt Module Generator
Testing
Library - Test Environment
Examples
Protect An Assembly
Lock An Assembly
Unlock An Locked Assembly
Ordering
Register Online
License Agreement
Why register?
Support and Contact
Technical Support
Contact
Acknowledgements

.NET Reactor Online Help

Prev Page Next Page
Command Line Parameters
 

You can also access the functionality of .NET Reactor through command-line parameters.

General Arguments Description
-file <file> Filename of the main assembly.
-icon <file> If you want to use a different icon for an application you need to set the path for the icon here.
-masterkey <text> Master Key.
-masterkeyfile <file> Path to a Master Key file.
-project <file> Path to a .NET Reactor project file.
-q[uiet] Specifies quiet mode; suppresses the display of success messages
-satellite_assemblies <lib/lib> Please define additional files here. In Application protection mode, Additional Files (*.dll and *.pdb files only) are embedded into the protected application. In Library protection mode, Additional Files (*.dll and *.exe files only) are protected separately or merged with the main assembly.
[libraray / library] for example "C:\lib1.dll/C:\lib2.dll/C:\lib3.dll"
-targetfile <file> Target File should be left blank, unless you want to specify the location of the protected output.
Arguments  
1. General Settings  
  Compression  
  -compression [1/0] If set to True("1"), .NET Reactor will compress your .exe file and embedded files saving space on disk and bandwidth if you provide your code for internet download.
[1] = Enable {default}
[0] = Disable
  Enable Visual Styles  
  -visualstyles [1/0] If you wish to use visual styles (which are a feature of Windows Xp and Windows Vista), you will need to set this option to True. If set to false, any attempt in your assembly to enable visual styles will be ineffective.
[1] = Enable {autoselect}
[0] = Disable {autoselect}
  Require Vista Admin Privileges  
  -vista_admin [1/0] If your software requires administrator privileges under Windows Vista you need to set this option to true. In this case a consent dialog is shown in Windows Vista.
[1] = Enable
[0] = Disable {default}
  Show Console  
  -showconsole [1/0] Set to True to display the character mode console when your program starts. This option should normaly be set to false for applications that only use a graphical user interface.
[1] = Enable
[0] = Disable {default}
  Show Loading Screen  
  -showloadingscreen [1/0] Enable/Disable the LoadingScreen
[1] = Enable
[0] = Disable {default}
  Target File  
  -targetfile <file> .NET Reactor creates a new file containing your protected assembly. This field allows you to specify the path and name of that file. If left blank, .NET Reactor will write the new file to a default location.
2. Protection Settings  
  Compact Framework Protection Mode  
  -cf_mode [1/0] Enable this option if you wish to use the Compact .NET Framework with your assembly. Please note that in Compact Framework Protection Mode, the powerful licensing facilities of .NET Reactor are not available.
[1] = Enable
[0] = Disable {default}
  Digital Certificate  
      PVK Filename  
      -pvkfile <file> Private Key File.
      PFX/PVK Password  
      -pvkpassword <text> Private Key File Password.
      PFX/SPC File Name  
      -spcfile <file> Software Publisher Certificate File.
  Embed Native File  
  -embed_nat [1/0] This option is used only in Library protection mode, when NecroBit protection or a Lock is enabled. Enable this option to embed the native file into your protected assemly. At runtime it will be extracted to hard drive.
[1] = Enable {default}
[0] = Disable
  Merge Assemblies  
  -merge_libs [1/0] This option is used only in Library protection mode. Enable this option to merge multiple .NET assemblies into one .NET assembly. Disable this option to protect all Additional Files separately. In Application Protection mode all Additional Files (*.dll and *.pdb files only) are embedded automatically into the protected application.
[1] = Enable
[0] = Disable {default}
  Native Library FileName  
  -nativename <filename> This option is used only in Library protection mode, when NecroBit protection or a Lock is enabled. Native Library Filename should be left blank, unless you want to specify a unique protected output filename.
  NecroBit Protection  
  -necrobit [1/0] Enable this option to use NecroBit protection. NecroBit can be used with both Application and Library protection mode. In Library protection mode an additional file will be created.
[1] = Enable
[0] = Disable {default}
  Obfuscation  
      Control Flow Obfuscation  
      -control_flow_obfuscation [1/0] Enable "Control Flow Obfuscation" to mangle program flow, making it extremely difficult for humans to follow the program logic. Most decompiler are unable to decompile control flow obfuscated methods.
[1] = Enable
[0] = Disable {default}
      Create Mapping File  
      -mapping_file [1/0] Enable Mapping file to create a file which cross reference unobfuscated names with obfuscated ones, which is used by the Stack Trace Deobfuscator.
[1] = Enable
[0] = Disable {default}
      Enabled  
      -obfuscation [1/0] Enable this to obfuscate all non public class and member names.
[1] = Enable {default}
[0] = Disable
      Obfuscate Public Types  
      -obfuscate_public_types [1/0] Enable this to obfuscate all type and member names in an assembly.
[1] = Enable
[0] = Disable {default}
      Obfuscate Serializable Types  
      -obfuscate_serializable_types [1/0] Disable this option to prevent serializable types from obfuscation.
[1] = Enable {default}
[0] = Disable
      Use Uprintable Characters  
      -unprintable_characters [1/0] Unprintable characters uses unprintable strings to obfuscate type and member names, but cannot be used if your assembly must run as safe code.
[1] = Enable
[0] = Disable {default}
  Protection Mode  
  -protectiontype [app/lib] Specifies the mode of protection.
[app] = Application {autoselect}
[lib] = Library {autoselect}
  String Encryption  
  -stringencryption [1/0] String Encryption disguises internalized text, making it all the more difficult to decipher the interaction of your CIL.
[1] = Enable {default}
[0] = Disable
  Strong Name Key Pair File  
      Filename  
      -strongnamekeypair <file> .NET Reactor automates the handling of strongly named assemblies. Select your key file and specify your password, and .NET Reactor does the rest.
      Password  
      -strongnamekeypair_password <text> Key file password (.pfx file).
  Suppress ILDASM  
  -suppressildasm [1/0] Enable this option to suppress disassembly to IL using the ildasm.exe tool. Even if this option it set to FALSE your source code is still secure!
[1] = Enable {default}
[0] = Disable
3. Lock Settings  
  Expiration Behaviour ALL  
  -licensing_behaviour[1/0] When set to True("1")  causes the expiration of the assembly only when all other enabled locks have expired. When set to False the assembly expires when any one of the locks expires.
[1] = Enable {default}
[0] = Disable
  Inbuild Lock - Eveluation Period  
      Enabled  
      -evaluationenable[1/0] The Evaluation period lock enables the creation of trial versions of your application, limiting the use of your trial in a variety of ways(Trial or Runtime).
[1] = Enable
[0] = Disable {default}
      Evaluation Type  
      -evaluationtype [trial/runtime] Choose between Trial and Runtime
[trial] = Trial {default}
[runtime] = Runtime
    Time  
      -time <number> Specify the number of days or minutes for the evaluation period.
      Dialog  
        Enabled  
          -showevaluationperiodscreen[1/0] Enable this to show a message screen when evaluation period is expired.
          Message  
       -evaluationmessage <text> Evaluation period expired message.
  Inbuild Lock - Expiration Date  
      Enabled  
      -expirationdate_enable[1/0] The Expiration Date lock allows you to specify the exact date on which your application should expire.
[1] = Enable
[0] = Disable {default}
      Expiration Date  
      -expirationdate<y/m/d> Choose a day. Your inbuild license will be valid up to this day. After this day your customer will need a new license file.
[year/month/day] for example '2008/1/15'
      Dialog  
          Enabled  
          -showexpirationdatescreen[1/0] Specifies whether a dialog box should be displayed to the user when the Expiration Date is reached.
          Message  
       -expirationdatemessage <text> Message
  Inbuild Lock - Number Of Uses  
      Enabled  
      -number_of_uses_enable[1/0] This lock, if enabled, causes your application to expire after the specified number of uses.
[1] = Enable
[0] = Disable {default}
      Uses  
      -number_of_uses <number> Specify the number of times the user can run your application before it expires.
      Dialog  
        Enabled  
          -showenumberofusesscreen[1/0] Specifies whether a dialog box should be displayed to the user when your application has been used the specified number of times.
[1] = Enable {default}
[0] = Disable
          Message  
       -expirationdatemessage <text> Message
  License Not Found Screen  
      Enabled  
      -shownotfoundscreen [1/0] Enable/Disable Screen
[1] = Enable {default}
[0] = Disable
      Message  
      -invalidlicensemessage <text> The text of the message which is issued when a license file is not found (if "Run Without License" is set to false), is found but is corrupt or otherwise invalid.
  Max Number Of Instances  
      Enabled  
      -number_of_instances_enable[1/0] The max number of instances lock allows you to specify the maximum number of copies of your application the user is allowed to start at the same time. Please note that exceeding the specified number of instances does NOT cause your application to expire.
[1] = Enable
[0] = Disable {default}
      Instances  
      -number_of_instances <number> The maximum number of instances.
      Dialog  
        Enabled  
          -numberofinstancesscreen[1/0] Specifies whether a dialog box should be displayed to the user when they attempt to run more than the specified number of instances of your application.
[1] = Enable {default}
[0] = Disable
          Message  
       -numberofinstancesmessage <text> Message
  Nag Screen  
      Enabled  
      -shownagscreen [1/0] Enable/Disable NagScreen
[1] = Enable
[0] = Disable {default}
      Message  
      -nagmessage <text> Here you can set the message for the nag screen.
      XDays  
      -xdays <number> .NET Reactor can either display the nag screen every time the application is started (in which case set the value of this option to -1{default}), or a specified number of days before the end of the Evaluation Period or Expiry Date.
  Run Another Process After Expiration  
  -run_another_process <text> Opens or launches another application, file, or web site upon expiration. Usually used to send evaluation users to a web page.
  Run Without License File  
  -run_without_licensefile [1/0] Set to false(0) to require a valid license for operation. If true, enabled Inbuild Locks are honored. If a valid license file is found the Inbuild Locks settings are overriden with the license file settings.
[1] = Enable {default}
[0] = Disable
  Shutdown Process After Expiration  
  -shutdown_process [1/0] Terminates the running process upon expiration.
[1] = Enable {default}
[0] = Disable
  Static License FileName  
  -staticlicensefilename <filename> Specifies a license file name or extension (*.myextension). Leave blank to allow .NET Reactor to determine a *.license file name from your assembly name. To avoid conflicts with optional methods of extending license behavior, binary .NET Reactor licenses do not use the .LIC extension reserved to .NET license classes.
  V3 Licensing Mode  
  -v3mode[1/0] .NET Reactor v3.x uses a new encryption technique which is not backward compatible with previous versions of .NET Reactor. Set this option to True to use .NET Reactor v3 license encryption technique, or False to use the V2.x compatible encryption method.
4. Dialog Settings  
  Dialog Box Interface  
  -dialogbox_interface <file> Uses a customizable dialog box you may build with the SDK. Please set the FullName of your Dialog Box here(e.g. MyNamespace.MyDialogBox). Please check the SDK for more information.
  Dialog Caption  
  -messagecaption <text> This is the title of all message forms which can be shown.
  Gradient Color Begin  
  -gradcolorbegin <r/g/b> Gradient Color of the message windows.
<red/green/blue> for example '212/15/128'
  Gradient Color End  
  -gradcolorend <r/g/b> Gradient Color of the message windows.
<red/green/blue> for example '212/15/128'

Example Combinations:

dotNET_Reactor.exe -file "c:\testapp.exe"

dotNET_Reactor.exe -file "c:\testlib.dll"

dotNET_Reactor.exe -project "c:\projx.nrproj"

dotNET_Reactor.exe -project "c:\projx.nrproj" -masterkeyfile "c:\masterkey.mkey"

dotNET_Reactor.exe -file "c:\testapp.exe" -project "c:\projx.nrproj"

dotNET_Reactor.exe -file "c:\testapp.exe" -project "c:\projx.nrproj" -q

dotNET_Reactor.exe -file "c:\testapp.exe" -evaluationenable 1 -evaluationtype trial -time 14

dotNET_Reactor.exe -file "c:\testapp.exe" -showloadingscreen 0

dotNET_Reactor.exe -file "c:\testapp.exe" -protectiontype lib