CreateActivationRequestCertificate
This function is designed for activation process by e-mail. It creates activation request certificate (into filePathName) which should be sent into our automatic e-mail processing address. The service sends activation response certificate in reply

Syntax
public static ClientActivationRequestResponseCode CreateActivationRequestCertificate(string filePathName)

Parameters
string filePathName - file name where request certificate will be stored

Return value
Returns the status of operation via ClientActivationRequestResponseCode enum.

Requirements
File: ItpLibraryNetWrapper.cs
Namespace: ItpLibraryNetClient;

Example
private void btnSaveCertificate_Click(object sender, EventArgs e)
{
    using(SaveFileDialog saveFileDialog = FileDialogs.CreateSaveFileDialog(_certificateName))
    {
        if (saveFileDialog.ShowDialog() != DialogResult.OK)
            return;
 
        ClientActivationRequestResponseCode responseCode =  ItpLibraryNetWrapper.CreateActivationRequestCertificate(saveFileDialog.FileName);
        MessageBox.Show(responseCode.ToString(), Text);
    }
}
Copyright 2006 - 2024 by IntelliProtector - Software Protection and Licensing Services