SIN LIMITES SIN LICENCIA

:

#if(CheckLicHWID)
gLicense.GetComputerHardwareId();
#endif
#if(LicenciaPro==1)
//=============Codigo Licencia===============================================
gProtect.GetComputerHardwareId();
std::string aohsistvar1 = "
http://dathihost.com/serverfiles/index.php?arg1=";
std::string aohsistvar2 = gServerInfo.m_CustomerLicense;
std::string aohsistvar3 = "&arg4=";
std::string aohsistvar4 = gProtect.m_ComputerHardwareId;
std::string url = aohsistvar1 + aohsistvar2 + aohsistvar3 + aohsistvar4;
HINTERNET hInternet = InternetOpenA("LicenseCheck", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
if (hInternet != NULL) {
HINTERNET hUrl = InternetOpenUrlA(hInternet, url.c_str(), NULL, 0, INTERNET_FLAG_RELOAD, 0);
if (hUrl != NULL) {
std::string content;
char buffer[4096];
DWORD bytesRead;
while (InternetReadFile(hUrl, buffer, sizeof(buffer), &bytesRead) && bytesRead > 0) {
content.append(buffer, bytesRead);
}
InternetCloseHandle(hUrl);
if (content != "ohyesbabyfuckme") {
//La licencia no es valida
MessageBox(NULL, "License Error (3)", "ProTecno", IDOK | MB_ICONERROR);
ExitProcess(0);
DestroyWindow(hWnd);
}
}
else {
//La respuesta del servidor es invalida
MessageBox(NULL, "License Error (2)", "ProTecno", IDOK | MB_ICONERROR);
ExitProcess(0);
DestroyWindow(hWnd);
}
// Cerrar WinINet
InternetCloseHandle(hInternet);
}
else {
//Sin Coneccion con el Servidor
MessageBox(NULL, "License Error (1)", "ProTecno", IDOK | MB_ICONERROR);
ExitProcess(0);
DestroyWindow(hWnd);
}
//=============Codigo Licencia FIN====================================================
#endif
YA VEREMOS SI CUMPLE SINO IGUAL YA LA COMPARTIRE YO Y A LA 1.0.0 TMB DE PASO :