UseActivationResponseCertificate
This function activates the software by the activation response certificate.

Syntax
Public Shared Function UseActivationResponseCertificate(filePathName As String) As ClientActivationResponseCode

Parameters
string filePathName - response certificate path.

Return value
Returns status of operation via ClientActivationResponseCode enum.

Requirements
File: ItpLibraryNetWrapper.vb
Namespace: ItpLibraryNetClient;

Example
Private Sub btnUseCertificate_Click(sender As Object, e As EventArgs) Handles btnUseCertificate.Click
    Using openFileDialog As OpenFileDialog = FileDialogs.CreateOpenFileDialog()
        If openFileDialog.ShowDialog() <> DialogResult.OK Then
            Return
        End If
 
        Dim responseCode As ClientActivationResponseCode = ItpLibraryNetWrapper.UseActivationResponseCertificate(openFileDialog.FileName)
        MessageBox.Show(responseCode.ToString(), Text)
    End Using
 
    UpdateActivationStatus()
End Sub
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services