Can I get the serial ID of the motherboard ?

  • Thread starter Thread starter Roberto Hernández
  • Start date Start date
R

Roberto Hernández

I develop a software and I want to protect it whit some unique ID of a
computer
Can I get the serial ID of the motherboard?
 
yes you can But ,,,,, i discovered that a lot of manufacturers return 000000
or xxx.xxx ( in my case i have seen this with some type of Asus
motherboards

so if this info is reliable in your situation ????

regards

Michel Posseth
 
Roberto,

This is often asked and there is no answer, the most usable is probably the
mac address of the networkadapter.

Be however aware that this solution has give in past forever problems with
clients who are updating their system. I have seen in past at least one
major (at that time size of Microsoft) seller who don't exist anymore who
had this kind of protection in his software.

Cor
 
I did modificatios to adapt to Visual Basic.Net 2003:

Public strComputer As String, objWMIService As Object, colSMBIOS As Object,
objSMBIOS As Object

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
strComputer = "."
objWMIService = GetObject("winmgmts:" &
"{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
colSMBIOS = objWMIService.ExecQuery ("Select * from
Win32_SystemEnclosure")
For Each objSMBIOS In colSMBIOS
lbl.Text += ("Part Number: " & objSMBIOS.PartNumber) & vbNewLine
lbl.Text += ("Serial Number: " & objSMBIOS.SerialNumber) & vbNewLine
lbl.Text += ("Asset Tag: " & objSMBIOS.SMBIOSAssetTag) & vbNewLine
Next
End Sub

But it dosen't work, no error is returnet but no data also. May be the
Object type are worng but I don't know which to put on, I think is somthing
like System.Management.Instrumentation

Thanks for your help.
 
Roberto,

AFAIK is this is only working if the motherboard has a serial number, what
is as well AFAIK seldom.

Cor
 
The Porcessor ID is not a serial number of it, it is like the model number,
I did the following test in some computers:

0FEBFBFF00000F48 Virtual P D 2.8
BFEBFBFF00000F44 P D 2.8
BFEBFBFF00000F25 2x Xeon 2.8
BFEBFBFF00000F33 P42800
BFEBFBFF00000F33 P42800
BFEBFBFF00000F33 P42800
BFEBFBFF00000F29 P4 2800
BFEBFBFF00000F34 P4 2800
0000005500000686 P3 800
3FEBFBFF00000F12 P4 1.4
0387FBFF00000686 2x P3 933
3FEBFBFF00000F12 p4 1595Mhz
3FEBFBFF00000F12 p4 1495Mhz
3FEBFBFF00000F0A p4 1395Mhz

How can I get the mac address of the networkadapter ?
 
by the way ,,,, i believe that RAS creates a virtuall mac adress if a
hardware adress is not availlable ( as TCP also needs a Mac adress to
function )
and you are connected to internet ...

so check with ipconfig / all ...




regards



m.posseth said:
Are you serious ?? ;-)

Michel
 
Michel,

m.posseth said:
by the way ,,,, i believe that RAS creates a virtuall mac adress if a
hardware adress is not availlable ( as TCP also needs a Mac adress to
function )
and you are connected to internet ...

This might be true. However, not everybody running an application is
connected to the internet and/or has internet connections defined.
 
Thanks.
I find a way to find the mac address of the computer running the
application:

Dim mc As System.Management.ManagementClass
Dim mo As ManagementObject
mc = New ManagementClass("Win32_NetworkAdapterConfiguration")
Dim moc As ManagementObjectCollection = mc.GetInstances()
For Each mo In moc
If mo.Item("IPEnabled") = True Then
MsgBox ("MAC address " & mo.Item("MacAddress").ToString())
End If
Next

But I don't want to licence my aplication for each computer in a LAN, just
for the server. Then I want to know the mac addres of another known computer
(the server) whith an especific name or IP adress configured in a .ini file.

The question is: how to know the mac adress of another specific computer?

Thanks.
 
Herfried,
Mhm... My computer doesn't have a network card...

Therefore I wrote that long part in one of my messages in this thread.

To repeat the message I once wrote. In past there was a company who had the
best framework (windows) for the PC in that time.

They had created a system that made it unable to migrate their software once
it was installed on the PC. They were using a disktrack which was not
reachable by DOS on a IBM XT 10Mb disk. If you wanted to do a migration, you
would first have to do a deinstallation from their sofware, get a key and go
on.

However what if that PC was broken, it was an US company, with I thought no
service outside that. It was only working on an IBM XT. (Software was much
more expensive than now in that time).

http://www.old-computers.com/museum/computer.asp?st=1&c=286

After the time the first IBM AT where introduced (in which was a different
disk and you where at least a while after the introducion of that you were
unable to install their software to that), they disapeared. I have always
had the idea that one of the reasons was their perfect anti copying system.

http://www.old-computers.com/museum/computer.asp?c=185

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top