|
UseRegistrationResponseCertificateW |
Top Previous Next |
|
This function creates registration request certificate for the e-mail registration service.
static bool UseRegistrationResponseCertificateA(WideString stFilePath);
Parameters
WideString stFilePath - certificate response path.
Return value
Returns True if there are no errors. Returns False if some errors were occurred.
Requirements
Library: IntelliProtectorDummy.dll Source: UnitIntelliProtector.h
Example
#include "UnitIntelliProtector.h" using namespace IntelliProtectorService; //...
void __fastcall TFormRegistrationByEmail::UseRegistrationResponseCertificate(TObject *Sender) { TOpenDialog* openDialog = new TOpenDialog(this);
openDialog->FileName = L"*.dat"; openDialog->InitialDir = GetCurrentDir(); openDialog->Filter = L"Data Files (*.dat)|*.dat|All Files (*.*)|*.*|";
if (openDialog->Execute()) if (CIntelliProtector::UseRegistrationResponseCertificateW(openDialog->FileName) == FALSE) Application->MessageBoxA(L"Error, certificate is not used!", L"", MB_OK);
delete openDialog; UpdateStatus(); }
|
| Copyright © 2011 intelliprotector.com |