SL100_FactoryTestTool/FactoryTestTool/SourceCode/LicenseGenerate/LicenseGenerate.h

19 lines
400 B
C++

#ifndef LICENSEGENERATE_H
#define LICENSEGENERATE_H
#include <QWidget>
#include <QTcpServer>
#include <QJsonArray>
#include <windows.h>
#include <iostream>
#include <QDebug>
#include <stdio.h>
#include "p_code.h"
#define PIX_HARDWARE_INFO_BYTES 32
#define PIX_LICENCE_BYTES 128
bool licenseGenerate(const unsigned char* hardware_info, unsigned char* license_info);
#endif