Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7588461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:55:30+00:00 2026-05-30T19:55:30+00:00

I have to protect with a validation Key an application written in Java, the

  • 0

I have to protect with a validation Key an application written in Java, the key should work only on a specified PC, so for example a machine ID serial number should be generated by the application based on a unique identifier (for example : hard disk serial, MainBoard serial and so on … ); then based on this unique identifier another program will generate a validation key.

I have already implemented a similar activation system on a .NET application generating Machine identifier, getting hardware serial numbers from WMI, How can i get this values in Java ? The solution should work independently on Windows, Linux and Mac Os X .

How can i retrieve a unique identifier of a machine in Java ? Is there some library out there, that allow to do it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T19:55:32+00:00Added an answer on May 30, 2026 at 7:55 pm

    The machines MAC address (or one of the machines MAC addresses) is a good candidate. It is unique and probably changes less often then other hardware identifiers. Here’s a code snippet:

    • How to get MAC address of a host using java program
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a small application and now i want to protect it. I
I am working on a software project and have written a validation system to
I have a few classes in my current project where validation of Email/Website addresses
I have a question regarding best-practice when including headers. Obviously include guards protect us
I'm considering the following: I have some data stream which I'd like to protect
Suppose I have a free function called InitFoo . I'd like to protect this
I have a project that I'm currently working on but it currently only supports
Should I write authentication logic in my forms for handling user login? For example,
I have a web project that uses a number of 3rd party js libraries.
I have an ASP.NET website in which I am loading some validation rules from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.