473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Truly unique number for a computer.

UJ
Is there any number I can get that is truly unique for a computer that can't
be changed? I want to have a system whereby I have a computer that accesses
a web service based on some unique value that can't be changed. Or at least
if it is changed, it's not changed frequently. (IP address won't work
because that can change frequently).

Here's my thought - the program boots up, finds some unique piece of
information, sends that off to the web service who checks that against a
master list. If the ID is there, everything is OK, if not - it stops dead
(there of course would be a way to add the ID to the master list but that
would involve human interaction.)

This is for a system whereby when a user buys our product, we only allow x
number of machines to connect to the web service and need to limit that.

I've thought about MAC address but have been told that that can be spoofed.

If there either a serial number or GUID available for the machine itself?

TIA - Jeffrey.
Sep 19 '05 #1
5 4365
Have you tried the microprocessor serial number?

"UJ" <fr**@nowhere.com> escribió en el mensaje
news:ON***************@tk2msftngp13.phx.gbl...
Is there any number I can get that is truly unique for a computer that
can't be changed? I want to have a system whereby I have a computer that
accesses a web service based on some unique value that can't be changed.
Or at least if it is changed, it's not changed frequently. (IP address
won't work because that can change frequently).

Here's my thought - the program boots up, finds some unique piece of
information, sends that off to the web service who checks that against a
master list. If the ID is there, everything is OK, if not - it stops dead
(there of course would be a way to add the ID to the master list but that
would involve human interaction.)

This is for a system whereby when a user buys our product, we only allow x
number of machines to connect to the web service and need to limit that.

I've thought about MAC address but have been told that that can be
spoofed.

If there either a serial number or GUID available for the machine itself?

TIA - Jeffrey.

Sep 19 '05 #2
UJ
How do I get the microprocessor serial number? That was actually something I
was thinking about but don't know how to get at it.....

J.

"Francisco Garcia" <no****@nowhere.com> wrote in message
news:uF**************@TK2MSFTNGP14.phx.gbl...
Have you tried the microprocessor serial number?

"UJ" <fr**@nowhere.com> escribió en el mensaje
news:ON***************@tk2msftngp13.phx.gbl...
Is there any number I can get that is truly unique for a computer that
can't be changed? I want to have a system whereby I have a computer that
accesses a web service based on some unique value that can't be changed.
Or at least if it is changed, it's not changed frequently. (IP address
won't work because that can change frequently).

Here's my thought - the program boots up, finds some unique piece of
information, sends that off to the web service who checks that against a
master list. If the ID is there, everything is OK, if not - it stops dead
(there of course would be a way to add the ID to the master list but that
would involve human interaction.)

This is for a system whereby when a user buys our product, we only allow
x number of machines to connect to the web service and need to limit
that.

I've thought about MAC address but have been told that that can be
spoofed.

If there either a serial number or GUID available for the machine itself?

TIA - Jeffrey.


Sep 19 '05 #3
Public Class Processador

Private moReturn As System.management.ManagementObjectCollection

Private moSearch As Management.ManagementObjectSearcher

Private mo As Management.ManagementObject

Private sFabricante, sNome, sSerial, sVelocidade, sTipo, sDispositivo,
sClockMaximo As String

Private sL2CacheSize, sL2CacheSpeed, sLevel, sStepping As String

Sub New()

moSearch = New Management.ManagementObjectSearcher("Select * from
Win32_Processor")

moReturn = moSearch.Get

For Each mo In moReturn

Me.sFabricante = mo("Manufacturer").ToString.Trim

Me.sNome = mo("Name").ToString.Trim

Me.sSerial = mo("ProcessorID").ToString.Trim

Me.sVelocidade = mo("CurrentClockSpeed").ToString.Trim

Me.sTipo = mo("Description").ToString.Trim

Me.sDispositivo = mo("DeviceID").ToString.Trim

Me.sClockMaximo = mo("MaxClockSpeed").ToString.Trim

Me.sL2CacheSize = mo("L2CacheSize").ToString.Trim

Me.sL2CacheSpeed = mo("L2CacheSpeed").ToString.Trim

Me.sLevel = mo("Level").ToString.Trim

Me.sStepping = mo("Stepping").ToString.Trim

Next

End Sub

end Class

"UJ" <fr**@nowhere.com> wrote in message
news:uq**************@TK2MSFTNGP10.phx.gbl...
How do I get the microprocessor serial number? That was actually something I was thinking about but don't know how to get at it.....

J.

"Francisco Garcia" <no****@nowhere.com> wrote in message
news:uF**************@TK2MSFTNGP14.phx.gbl...
Have you tried the microprocessor serial number?

"UJ" <fr**@nowhere.com> escribió en el mensaje
news:ON***************@tk2msftngp13.phx.gbl...
Is there any number I can get that is truly unique for a computer that
can't be changed? I want to have a system whereby I have a computer that accesses a web service based on some unique value that can't be changed. Or at least if it is changed, it's not changed frequently. (IP address
won't work because that can change frequently).

Here's my thought - the program boots up, finds some unique piece of
information, sends that off to the web service who checks that against a master list. If the ID is there, everything is OK, if not - it stops dead (there of course would be a way to add the ID to the master list but that would involve human interaction.)

This is for a system whereby when a user buys our product, we only allow x number of machines to connect to the web service and need to limit
that.

I've thought about MAC address but have been told that that can be
spoofed.

If there either a serial number or GUID available for the machine itself?
TIA - Jeffrey.



Sep 20 '05 #4
Francisco Garcia wrote:
Have you tried the microprocessor serial number?


Not all procs have those anymore. And if they do, the nr can be disabled
in the BIOS.
Sep 20 '05 #5
Have you looked at using "Client Certificates" for this? If you use client
certs, you can configure IIS to reject connection attempts from systems that
either don't have a certificate or whose certificate has expired (or been
revoked, by you, of course). I don't know if you can then configure the
maximum number of connections but I suspect that you may also be able to do
that using IIS.

Client certificates will solve your problem.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"UJ" <fr**@nowhere.com> wrote in message
news:ON***************@tk2msftngp13.phx.gbl...
Is there any number I can get that is truly unique for a computer that
can't be changed? I want to have a system whereby I have a computer that
accesses a web service based on some unique value that can't be changed.
Or at least if it is changed, it's not changed frequently. (IP address
won't work because that can change frequently).

Here's my thought - the program boots up, finds some unique piece of
information, sends that off to the web service who checks that against a
master list. If the ID is there, everything is OK, if not - it stops dead
(there of course would be a way to add the ID to the master list but that
would involve human interaction.)

This is for a system whereby when a user buys our product, we only allow x
number of machines to connect to the web service and need to limit that.

I've thought about MAC address but have been told that that can be
spoofed.

If there either a serial number or GUID available for the machine itself?

TIA - Jeffrey.

Sep 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Louis Frolio | last post by:
Greetings All, I have read many upon many articles here regarding GUID data types and uniqueness. There have been many opinions regarding the effectiveness of GUID's and when they should/should...
5
by: Stanley Sinclair | last post by:
I have a medical records database. At this moment one server. Providence willing, and if things go well for me, I may have 9 other servers join in. Each patient will have, by GENERATE_UNIQUE(),...
29
by: Lauren Wilson | last post by:
Does anyone know how the following info is extracted from the user's computer by a Front Page form? HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107...
8
by: Abhishek | last post by:
Hi! I need to create a unique password everytime i click a button . what technique/Algo should i follow. Abhishek
4
by: UJ | last post by:
Is there any number I can get that is truly unique for a computer that can't be changed? I want to have a system whereby I have a computer that accesses a web service based on some unique value...
0
by: Dennis Gearon | last post by:
Given: CREATE TABLE Usrs( usr_id SERIAL NOT NULL PRIMARY KEY, usr VARCHAR(64) NOT NULL UNIQUE ); CREATE TABLE Emails( email_id SERIAL NOT NULL PRIMARY KEY, email VARCHAR(128) NOT...
23
by: Alvin | last post by:
Well, I'm developing a Tetris game in SDL, but when it comes to deciding the next block, I'm stuck. It's random, but when I try something like seeding the randomizer with the time, it won't update...
18
by: JJ | last post by:
Now I know this question has been asked many times, but I cannot seem to find a good site which summarises the methods possible in vb .net. I am after a way of producing a unique serial number...
4
by: Mufasa | last post by:
I'm looking for a way to get a truly unique identifier for a machine for our client software. I'd like to have it so that there's little or no setup by the end user. (We set up the machines and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.