Config Helper
ConfigReaderWriter Constructor(String,String)
Example 



KellermanSoftware.ConfigHelper Namespace > ConfigReaderWriter Class > ConfigReaderWriter Constructor : ConfigReaderWriter 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 ConfigReaderWriter(userName, licenseKey)
public ConfigReaderWriter( 
   string userName,
   string licenseKey
)
public:
ConfigReaderWriter( 
   String^ userName,
   String^ licenseKey
)

Parameters

userName
The user name from your receipt
licenseKey
The license key from your receipt
Example
//Trial Mode
ConfigReaderWriter config = new ConfigReaderWriter();
 
//License Mode
ConfigReaderWriter config2 = new ConfigReaderWriter("John Smith 10000", "psdfljksfdl==");
'Trial Mode
Dim config As New ConfigReaderWriter()
 
'License Mode
Dim config2 As New ConfigReaderWriter("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

ConfigReaderWriter Class
ConfigReaderWriter Members
Overload List