AddLicenseKeyWithAuth Method
See Also 
SourceCode.Hosting.Client Namespace > LicenseManagementAPI Class : AddLicenseKeyWithAuth Method



licenseText
licenseData
licenseKey
hostName
hostPort
machineCode
securityLabelName
userName

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function AddLicenseKeyWithAuth( _
   ByVal licenseText As String, _
   ByVal licenseData As String, _
   ByVal licenseKey As String, _
   ByVal hostName As String, _
   ByVal hostPort As Integer, _
   ByVal machineCode As String, _
   ByVal securityLabelName As String, _
   ByVal userName 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 securityLabelName As String
Dim userName As String
Dim value As String
 
value = instance.AddLicenseKeyWithAuth(licenseText, licenseData, licenseKey, hostName, hostPort, machineCode, securityLabelName, userName)

Parameters

licenseText
licenseData
licenseKey
hostName
hostPort
machineCode
securityLabelName
userName

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