UseRegistrationResponseCertificate
This function registers the software by the registration response certificate.

Syntax
Public Shared Function UseRegistrationResponseCertificate(filePathName As String) As ClientRegistrationResponseCode

Parameters
string filePathName - response certificate path.

Return value
Returns status of operation via ClientRegistrationResponseCode 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 ClientRegistrationResponseCode = ItpLibraryNetWrapper.UseRegistrationResponseCertificate(openFileDialog.FileName)
        MessageBox.Show(responseCode.ToString(), Text)
    End Using
 
    UpdateRegistrationStatus()
End Sub
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services