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

  • SEARCH
  • Home
  • 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 8080981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:34:51+00:00 2026-06-05T16:34:51+00:00

I am using the code below to get processor id: System.Management.ManagementClass theClass = new

  • 0

I am using the code below to get processor id:

System.Management.ManagementClass theClass = new System.Management.ManagementClass("Win32_Processor");
System.Management.ManagementObjectCollection theCollectionOfResults = theClass.GetInstances();

foreach (System.Management.ManagementObject currentResult in theCollectionOfResults)
{
    MessageBox.Show(currentResult["ProcessorID"].ToString());
}

Is processor ID a unique ID for every computer? I want to generate a random unique number for every computer to use as a AES crypto key. I don’t want to use MAC address because i know that MAC address can be changed.

  • 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-06-05T16:34:53+00:00Added an answer on June 5, 2026 at 4:34 pm
    1. Processor ID is not guaranteed to be unique for every cpu or guaranteed to exist at all.
    2. Hardware can be replaced – you can’t change that fact.

    Suggestions:
    if you need to uniquely identify a machine – it is ok to use the processor Id or MAC address or both for uniqueness. (or any other hardware related number).
    but you must keep in mind you id the hardware – not the user, so if the hardware has changed it is much like if someone you know took a face lift and now you don’t recognize him.

    If you need to identify the user (which I think is better) just let him choose a username and a password.

    If you need to make sure that only one previously identified user is using your app, and your’e afraid he will be pirating your app.. the only way is having a server/central point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the script code below to get results from my database based
I've been using the below code in order to get the Windows License Key.
20120315021529.000[-8:PST] to get the first part I was able by using below C# code.
I'm using this code, and I get the stack trace that is listed below.
I am trying to get the data from database by using the below code.....
I am using below code to get & process value from google HashMultimap HashMultimap
Using the code below, I am attempting to fill a Canvas with UIElements and
Using the code below (from a console app I've cobbled together), I add seven
Using the code below, I want to keep the same menu div opened in
Using the code below I'm expecting a green rectangle and a red one of

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.