ELC 3
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
/// @param argc
|
||||
/// @param argv parametry pro generování licence
|
||||
/// @return
|
||||
int main()
|
||||
int main9()
|
||||
{
|
||||
// buffer,850client,104client, 104server, web
|
||||
// kouknout na unikatní klíc pro linux (native uid, i openssl neco má)
|
||||
@@ -20,7 +20,7 @@ int main()
|
||||
initStructure.licenceType = (int)LicenceType::DRT;
|
||||
initStructure.licenceVersion = 1;
|
||||
initStructure.licenceIndex = 0;
|
||||
initStructure.licenceFilePath = "c://_projects//sd_gen//output//"; // cesta k licenčnímu souboru
|
||||
initStructure.licenceFilePath = ""; //c://_projects//sd_gen//output//"; // cesta k licenčnímu souboru
|
||||
// initStructure.compatibility = 0; v případě kompatibility 0 či nezadané je výstup defaultní.
|
||||
// pro ELC 1 LicenceELC1Info je to isValid, pro ELC 2 strukura { int protocolId = -1; int dataPointsCount = 0; }
|
||||
initStructure.cid_csd_filePath = ""; // cesta k cidu/csd pro načtení a kontrolu licence
|
||||
@@ -34,7 +34,7 @@ int main()
|
||||
{
|
||||
LicenceELC3Item info; // podle ELC a kompatibility určit strukuru (LicenceInfo1, LicenceInfo2, LicenceInfo3)
|
||||
// if ()
|
||||
int protocolId = 4;
|
||||
int protocolId = 7;
|
||||
|
||||
if (licenceReaderELC3.getLicenceItemInfo(protocolId, &info))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user