This function renews the license code by the renewal response certificate.
Syntax
public static ClientRenewalResponseCode UseRenewalResponseCertificate(string filePathName)
Parameters
string filePathName - response certificate path.
Return value
Returns status of operation via ClientRenewalResponseCode 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;
ClientRenewalResponseCode responseCode = ItpLibraryNetWrapper.UseRenewalResponseCertificate(openFileDialog.FileName);
_responseCode = responseCode;
MessageBox.Show(responseCode.ToString(), Text);
}
UpdateRenewalStatus();
}