Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about multiple identification methods #124

Open
ricardborras opened this issue Jun 8, 2021 · 5 comments
Open

Question about multiple identification methods #124

ricardborras opened this issue Jun 8, 2021 · 5 comments
Labels

Comments

@ricardborras
Copy link

Hi,

thanks for good work on this library. I have 2 cases where I would run to license my software:

  • Pc identification is based on a hw identifier (such as ETHERNET, CPU, etc)
  • Pc identification is based on a text file

Second case is needed because my customers install computers and identifies them by a text file in the filesystem. I have forked library and added this second case using a new strategy. In my license project, I have added this strategy.

The question is that I would like to generate a executable with some parameters to manage both cases. How to do it? In method acquire_license from the API I cannot change the strategy, and it seems that it returns 2 ids for the same computer.

Thanks,

Ricard

@gcontini
Copy link
Member

Hi Ricard,

Let me see if i understood your requirements:

  1. if a file exists on the licensee computer use it to generate a pc identifier
  2. if the file doesn't exist use the standard ETHERNET/DISK way to generate pc identifier.
  3. when verify a license use the same method used to generate it.

Let me have a look to your branch this week-end

@ricardborras
Copy link
Author

ricardborras commented Jun 14, 2021 via email

@BotellaA
Copy link
Contributor

BotellaA commented Jun 14, 2021

@ricardborras Which other library are you using? I might have some common requirements with you.

@ricardborras
Copy link
Author

ricardborras commented Jun 14, 2021 via email

@gcontini
Copy link
Member

gcontini commented Jun 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants