User Agent Parser
DetectionLogic Constructor(String,String)
Example 



KellermanSoftware.UserAgentParser Namespace > DetectionLogic Class > DetectionLogic Constructor : DetectionLogic Constructor(String,String)
User name from receipt
License key from receipt
Licensed constructor
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 DetectionLogic(userName, licenseKey)
public DetectionLogic( 
   string userName,
   string licenseKey
)
public:
DetectionLogic( 
   String^ userName,
   String^ licenseKey
)

Parameters

userName
User name from receipt
licenseKey
License key from receipt
Example
DetectionLogic detectionLogic = new DetectionLogic("place user name here", "place license key here");
Dim detectionLogic as DetectionLogic = new DetectionLogic("place user name here", "place license key here")
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

DetectionLogic Class
DetectionLogic Members
Overload List