PC Review


Reply
Thread Tools Rate Thread

Unique Identifier for a computer.

 
 
UJ
Guest
Posts: n/a
 
      13th Feb 2007
I need to come up with a way to uniquely identify computers that can't be
hacked easily. Something like the system id or info from the CPU that is
then sent over the internet to a central database.

What we are trying to do is have a unique identifier that is machine based
that can't be changed.

Anybody have any thoughts?

TIA - Jeff.


 
Reply With Quote
 
 
 
 
Michael Nemtsev
Guest
Posts: n/a
 
      13th Feb 2007
Hello UJ,

Use the WMI to extract the Mother board ID, because the main MS policy to
bind software to that ID (not MAC or smth else)

Start from there http://msdn2.microsoft.com/en-us/library/aa394587.aspx


U> I need to come up with a way to uniquely identify computers that
U> can't be hacked easily. Something like the system id or info from the
U> CPU that is then sent over the internet to a central database.
U>
U> What we are trying to do is have a unique identifier that is machine
U> based that can't be changed.


---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel


 
Reply With Quote
 
UJ
Guest
Posts: n/a
 
      13th Feb 2007
Does anybody have this code in either C# or VB.Net ? I'm not sure how to do
VBScript.

Thanks.

J.

"Michael Nemtsev" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello UJ,
>
> Use the WMI to extract the Mother board ID, because the main MS policy to
> bind software to that ID (not MAC or smth else)
>
> Start from there http://msdn2.microsoft.com/en-us/library/aa394587.aspx
>
>
> U> I need to come up with a way to uniquely identify computers that
> U> can't be hacked easily. Something like the system id or info from the
> U> CPU that is then sent over the internet to a central database.
> U> U> What we are trying to do is have a unique identifier that is machine
> U> based that can't be changed.
>
>
> ---
> WBR, Michael Nemtsev [C# MVP]. My blog: http://spaces.live.com/laflour
> Team blog: http://devkids.blogspot.com/
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
>



 
Reply With Quote
 
UJ
Guest
Posts: n/a
 
      15th Feb 2007
Thanks but I've the code on 10 different machines and only gotten two
distinct values. It looks like that ID is not a serial number for the CPU
but instead is a process type id. I need the serial # of the CPU.

J.

"Michael Nemtsev" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello UJ,
>
> Use the WMI to extract the Mother board ID, because the main MS policy to
> bind software to that ID (not MAC or smth else)
>
> Start from there http://msdn2.microsoft.com/en-us/library/aa394587.aspx
>
>
> U> I need to come up with a way to uniquely identify computers that
> U> can't be hacked easily. Something like the system id or info from the
> U> CPU that is then sent over the internet to a central database.
> U> U> What we are trying to do is have a unique identifier that is machine
> U> based that can't be changed.
>
>
> ---
> WBR, Michael Nemtsev [C# MVP]. My blog: http://spaces.live.com/laflour
> Team blog: http://devkids.blogspot.com/
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
>



 
Reply With Quote
 
Goran Sliskovic
Guest
Posts: n/a
 
      15th Feb 2007

"UJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks but I've the code on 10 different machines and only gotten two
> distinct values. It looks like that ID is not a serial number for the CPU
> but instead is a process type id. I need the serial # of the CPU.
>


CPU serial number is not implemented any more, because of security concerns:
http://www.cdt.org/privacy/issues/pentium3/

I use computer SID usually. However, SID is changable, but if somebody wants
to crack, he will crack

Regards,
Goran




 
Reply With Quote
 
Michael Nemtsev
Guest
Posts: n/a
 
      15th Feb 2007
Hello UJ,

Could you show the code that u use?
Smth like this http://www.freevbcode.com/ShowCode.asp?ID=2664? SerialNumber
property?

U> Than
ks but I've the code on 10 different machines and only gotten two
U> distinct values. It looks like that ID is not a serial number for the
U> CPU but instead is a process type id. I need the serial # of the CPU.
U>
>> Use the WMI to extract the Mother board ID, because the main MS
>> policy to bind software to that ID (not MAC or smth else)
>>
>> Start from there
>> http://msdn2.microsoft.com/en-us/library/aa394587.aspx
>>


---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
UJ
Guest
Posts: n/a
 
      15th Feb 2007
The code I'm using is:


public string GetCPUID()
{
string lsCPUID = "";
try
{
ManagementObjectCollection moReturn = null;
ManagementObjectSearcher moSearch = new ManagementObjectSearcher();

moSearch = new ManagementObjectSearcher("Select * from
Win32_Processor");
moReturn = moSearch.Get();
foreach ( ManagementObject mo in moReturn )
{
lsCPUID = mo["ProcessorID"].ToString();
}
}
catch
{
}

return lsCPUID;
}



and it's doesn't return a unique ID.




"Michael Nemtsev" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello UJ,
>
> Could you show the code that u use?
> Smth like this http://www.freevbcode.com/ShowCode.asp?ID=2664?
> SerialNumber property?
>
> U> Than
> ks but I've the code on 10 different machines and only gotten two
> U> distinct values. It looks like that ID is not a serial number for the
> U> CPU but instead is a process type id. I need the serial # of the CPU.
> U>
>>> Use the WMI to extract the Mother board ID, because the main MS
>>> policy to bind software to that ID (not MAC or smth else)
>>>
>>> Start from there
>>> http://msdn2.microsoft.com/en-us/library/aa394587.aspx
>>>

>
> ---
> WBR, Michael Nemtsev [C# MVP]. My blog: http://spaces.live.com/laflour
> Team blog: http://devkids.blogspot.com/
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
>



 
Reply With Quote
 
UJ
Guest
Posts: n/a
 
      15th Feb 2007
I originally was looking for code to use the SID but couldn't figure out how
to get it.

Could you please post code to get the SID?

If somebody hacks this stuff, then so be it. I just need a unique ID that
the casual user can't change easily (like computer name).

TIA - Jeff.

"Goran Sliskovic" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> "UJ" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thanks but I've the code on 10 different machines and only gotten two
>> distinct values. It looks like that ID is not a serial number for the CPU
>> but instead is a process type id. I need the serial # of the CPU.
>>

>
> CPU serial number is not implemented any more, because of security
> concerns:
> http://www.cdt.org/privacy/issues/pentium3/
>
> I use computer SID usually. However, SID is changable, but if somebody
> wants
> to crack, he will crack
>
> Regards,
> Goran
>
>
>
>



 
Reply With Quote
 
Michael Nemtsev
Guest
Posts: n/a
 
      15th Feb 2007
Hello UJ,

Use "select SerialNumber from Win32_BaseBoard". It should give u unique value

U> The code I'm using is:
U> moSearch = new ManagementObjectSearcher("Select * from
U> Win32_Processor");
U> and it's doesn't return a unique ID.

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning unique identifier to unique authors =?Utf-8?B?Ymx1ZXNreQ==?= Microsoft Access Queries 5 3rd Aug 2007 10:12 PM
Computer Unique Identifier tni@nc.rr.com Microsoft Dot NET Framework 2 4th Mar 2005 08:17 PM
what property/method will return a computer-unique identifier? heidstar pacific Microsoft Access Security 27 19th May 2004 05:57 AM
what property/method will return a computer-unique identifier? =?Utf-8?B?aGVpZHN0YXIgcGFjaWZpYw==?= Microsoft Access VBA Modules 14 12th May 2004 07:16 PM
Re: what property/method will return a computer-unique identifier? TC Microsoft Access Security 0 11th May 2004 08:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:19 PM.