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 9044407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:58:46+00:00 2026-06-16T10:58:46+00:00

Possible Duplicate: WIN32_Processor::Is ProcessorId Unique for all computers I’m creating an application with a

  • 0

Possible Duplicate:
WIN32_Processor::Is ProcessorId Unique for all computers

I’m creating an application with a trial feature. To detect if a certain user already used a trial the application connects to my server with their machineHash.

The machineHash function look like this:

string cpuInfo = string.Empty;
ManagementClass mc = new ManagementClass("win32_processor");
ManagementObjectCollection moc = mc.GetInstances();

foreach (ManagementObject mo in moc)
{
    if (cpuInfo == "")
    {
        //Get only the first CPU's ID
        cpuInfo = mo.Properties["processorID"].Value.ToString();
        break;
    }
}
return cpuInfo;

However, it does report my processor ID as BFEBFBFF000206A7 (on two different Intel machines, i5 and a Celeron). Googling BFEBFBFF000206A7 has hits too, so it’s not unique.

Could anyone tell me why this is not unique? I don’t want to use the VolumeSerial of let’s say the C:\ drive as that can be easily changed with a simple command.

  • 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-16T10:58:48+00:00Added an answer on June 16, 2026 at 10:58 am

    Instead of using the processor ID, combine multiple ID’s of a system into 1 string to compare each time the program sends check.

    Use something like this:

    using System.Management;
    ManagementObjectSearcher searcher = new ManagementObjectSearcher(
    "select * from " + whatever_id);
    

    All the values you can replace whatever_id with can be found here:
    http://www.codeproject.com/Articles/17973/How-To-Get-Hardware-Information-CPU-ID-MainBoard-I

    I would find a few you want to use, some of which can be unique, but even if you dont use a unique field, you can make combinations that will, for most intents and purposes, be unique.

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

Sidebar

Related Questions

Possible Duplicate: How to get the application executable name in Windows (C++ Win32 or
Possible Duplicate: How to compile a 64-bit application using Visual C++ 2010 Express? How
Possible Duplicate: .NET - What’s the best way to implement a catch all exceptions
Possible Duplicate: Enumerating threads in Windows I am trying to enumerate all threads belonging
Possible Duplicate: How do I tell if a win32 application uses the .NET runtime
Possible Duplicate: How to Skin an Win32 Application I'm trying to learn to design
Possible Duplicate: How to embed WebKit into my C/C++/Win32 application? I am trying to
Possible Duplicate: Detect inside Android Browser or WebView i want to detect whether the
Possible Duplicate: How to get the application executable name in Windows (C++ Win32 or
Possible Duplicate: How do I create a native application using Visual C++ 2008? Can

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.