Config Helper
IniReaderWriter Constructor(String,String)
Example 



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

Parameters

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

IniReaderWriter Class
IniReaderWriter Members
Overload List