Config Helper
RegistryReaderWriter Constructor(String,String)
Example 



KellermanSoftware.ConfigHelper Namespace > RegistryReaderWriter Class > RegistryReaderWriter Constructor : RegistryReaderWriter Constructor(String,String)
The user name from your receipt
The license key from your receipt
Constructor for licensed mode
Syntax
Public Function New( _
   ByVal userName As String, _
   ByVal licenseKey As String _
)
Dim userName As String
Dim licenseKey As String
 
Dim instance As New RegistryReaderWriter(userName, licenseKey)
public RegistryReaderWriter( 
   string userName,
   string licenseKey
)
public:
RegistryReaderWriter( 
   String^ userName,
   String^ licenseKey
)

Parameters

userName
The user name from your receipt
licenseKey
The license key from your receipt
Example
//Trial Mode
RegistryReaderWriter reg = new RegistryReaderWriter();
 
//License Mode
RegistryReaderWriter reg2 = new RegistryReaderWriter("John Smith 10000", "psdfljksfdl==");
'Trial Mode
Dim reg As New RegistryReaderWriter()
 
'License Mode
Dim reg2 As New RegistryReaderWriter("John Smith 10000", "psdfljksfdl==")
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RegistryReaderWriter Class
RegistryReaderWriter Members
Overload List