File Search Library
IndexLogic Constructor(String,String)
Example 



KellermanSoftware.FileSearchLibrary Namespace > IndexLogic Class > IndexLogic Constructor : IndexLogic Constructor(String,String)
User Name from the receipt
License Key from the receipt
Constructor for licensed mode
Syntax
'Declaration
 
Public Function New( _
   ByVal userName As String, _
   ByVal licenseKey As String _
)
'Usage
 
Dim userName As String
Dim licenseKey As String
 
Dim instance As New IndexLogic(userName, licenseKey)
public IndexLogic( 
   string userName,
   string licenseKey
)
public:
IndexLogic( 
   String^ userName,
   String^ licenseKey
)

Parameters

userName
User Name from the receipt
licenseKey
License Key from the receipt
Example
//Trial Mode
IndexLogic indexLogic = new IndexLogic();
 
//License Mode
IndexLogic indexLogic = new IndexLogic("John Smith 10000", "psdfljksfdl==");
'Trial Mode
Dim indexLogic As New IndexLogic()
 
'License Mode
Dim indexLogic As New IndexLogic("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

IndexLogic Class
IndexLogic Members
Overload List