CreateRegistrationRequestCertificateW

Top  Previous  Next

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

 

static BOOL CreateRegistrationRequestCertificateW(IN wchar_t* pwcsFilePath, IN wchar_t* pwcsLicenseCode);

 

Parameters

 

 wchar_tpwcsFilePath - certificate path.
 wchar_t* pwcsLicenseCode - License code.

 

Return value

 

 Returns the status of operation (1: success, 0: error).

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void CreateRegistrationRequestCertificate()

{

 BOOL result = CIntelliProtector::CreateRegistrationRequestCertificateW(L"c:\\temp\\certificate.dat", L"123123-123123-123123");

 if(result == FALSE)

         AfxMessageBox(L"Cannot create the request certificate");        

}

 





Copyright © 2015 IntelliProtector.com