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

Syntax
public static ClientActivationResponseCode UseActivationResponseCertificate(string filePathName)

Parameters
string filePathName - response certificate path.

Return value
Returns status of operation via ClientActivationResponseCode enum.

Requirements
File: ItpLibraryNetWrapper.cs
Namespace: ItpLibraryNetClient;

Example
private void btnUseCertificate_Click(object sender, EventArgs e)
{
    using (OpenFileDialog openFileDialog = FileDialogs.CreateOpenFileDialog())
    {
        if (openFileDialog.ShowDialog() != DialogResult.OK)
            return;
 
        ClientActivationResponseCode responseCode = ItpLibraryNetWrapper.UseActivationResponseCertificate(openFileDialog.FileName);
        MessageBox.Show(responseCode.ToString(), Text);
    }
 
    UpdateActivationStatus();
}
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services