AddLicenseKey(String,String,String,String,Int32,String) Method
See Also 
SourceCode.Hosting.Client Namespace > LicenseManagementAPI Class > AddLicenseKey Method : AddLicenseKey(String,String,String,String,Int32,String) Method



licenseText
licenseData
licenseKey
hostName
hostPort
machineCode

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overloads Function AddLicenseKey( _
   ByVal licenseText As String, _
   ByVal licenseData As String, _
   ByVal licenseKey As String, _
   ByVal hostName As String, _
   ByVal hostPort As Integer, _
   ByVal machineCode As String _
) As String
Visual Basic (Usage) Copy Code
Dim instance As LicenseManagementAPI
Dim licenseText As String
Dim licenseData As String
Dim licenseKey As String
Dim hostName As String
Dim hostPort As Integer
Dim machineCode As String
Dim value As String
 
value = instance.AddLicenseKey(licenseText, licenseData, licenseKey, hostName, hostPort, machineCode)

Parameters

licenseText
licenseData
licenseKey
hostName
hostPort
machineCode

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