UseRegistrationResponseCertificateW

Top  Previous  Next

This function creates registration request certificate for the e-mail registration service. Unicode version.

 

function UseRegistrationResponseCertificateW(stFilePath:WideString):Boolean;

 

Parameters

 

 stFilePath: WideString - certificate response path.

 

Return value

 

 Returns True if there are no errors.

 Returns False if some errors were occurred.

 

Requirements

 

 Library: IntelliProtectorDummy.lib

 Source: UnitIntelliProtector.pas

 

Example

 

uses UnitIntelliProtector;

//...

procedure TFormMain.UseRegistrationResponseCertificate();

var

 openDialog : TOpenDialog;  

begin

 openDialog := TOpenDialog.Create(Self);

 

 openDialog.FileName := '*.dat';

 openDialog.InitialDir := GetCurrentDir;

 openDialog.Filter := 'Data Files (*.dat)|*.dat|All Files (*.*)|*.*|';

 

 if openDialog.Execute = TRUE then

 begin

   if IntelliProtector.UseRegistrationResponseCertificateW(openDialog.FileName) = FALSE then

   begin

     MessageBox(Handle, 'Error, certificate is not used!', '', MB_OK);

   end;

 end;

 

 openDialog.Free;

 UpdateStatus();

end;

 

 

 

 





Copyright © 2015 IntelliProtector.com