getting processor Serial Number

  • Thread starter Thread starter Sameh Ahmed
  • Start date Start date
S

Sameh Ahmed

Hello there
Is there a way to programmatically get the serial number of the
processor(s), the mainboard, and the RAM modules?
Regards
Sameh
 
Processor Serial Number noticifcation must be switched on in BIOS
Mainboard information will be available without any modification
RAM [DDR or otherwise] is not identified with any manufacturer's ID or
serial number

Get Belarc Adviser and run it on your PC. A free utility that will give you
this and much more valuable information.

Why waste time to write your own utility when one this good is free.
 
EVEREST free from www.lavalys.com



--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.


| Hello there
| Is there a way to programmatically get the serial number
of the
| processor(s), the mainboard, and the RAM modules?
| Regards
| Sameh
|
|
 
well actually, I need to use these info in a software I am working on
so I can't use a ready made application, I need it programmatically.
 
Well, then you should learn how to write a program or
license the recommended programs for your needs and have
them [Bel Arc or Lavaly's] write the code for you.


--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.


| well actually, I need to use these info in a software I am
working on
| so I can't use a ready made application, I need it
programmatically.
|
in message
| | > EVEREST free from www.lavalys.com
| >
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > | > | Hello there
| > | Is there a way to programmatically get the serial
number
| > of the
| > | processor(s), the mainboard, and the RAM modules?
| > | Regards
| > | Sameh
| > |
| > |
| >
| >
|
|
 
It isn't all in a programming group,
microsoft.public.windowsxp.hardware is where I saw it.




--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.



| This is a programming newsgroup, what kind of response is
that...? What dev
| lang are you using Sameh?
| Buc
|
in message
| | > Well, then you should learn how to write a program or
| > license the recommended programs for your needs and have
| > them [Bel Arc or Lavaly's] write the code for you.
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > | > | well actually, I need to use these info in a software
I am
| > working on
| > | so I can't use a ready made application, I need it
| > programmatically.
| > |
| > | "Jim Macklin" <p51mustang[threeX12]@xxxhotmail.calm>
wrote
| > in message
| > | | > | > EVEREST free from www.lavalys.com
| > | >
| > | >
| > | >
| > | > --
| > | > The people think the Constitution protects their
rights;
| > | > But government sees it as an obstacle to be
overcome.
| > | >
| > | >
message
| > | > | > | > | Hello there
| > | > | Is there a way to programmatically get the serial
| > number
| > | > of the
| > | > | processor(s), the mainboard, and the RAM modules?
| > | > | Regards
| > | > | Sameh
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
This is a programming newsgroup, what kind of response is that...? What dev
lang are you using Sameh?
Buc
 
Sameh said:
well actually, I need to use these info in a software I am working on
so I can't use a ready made application, I need it programmatically.

Firstly, the information you would get would be shaky, in fact you'd be
lucky to get anything. Secondly it would only work if you were running
as an Admin of the remote box.
 
VB.Net Buc
can insert some VB script or C# if things get ugly:)

Buc said:
This is a programming newsgroup, what kind of response is that...? What
dev lang are you using Sameh?
Buc

Jim Macklin said:
Well, then you should learn how to write a program or
license the recommended programs for your needs and have
them [Bel Arc or Lavaly's] write the code for you.


--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.


| well actually, I need to use these info in a software I am
working on
| so I can't use a ready made application, I need it
programmatically.
|
in message
| | > EVEREST free from www.lavalys.com
| >
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > | > | Hello there
| > | Is there a way to programmatically get the serial
number
| > of the
| > | processor(s), the mainboard, and the RAM modules?
| > | Regards
| > | Sameh
| > |
| > |
| >
| >
|
|
 
being an admin wouldn't be a problem.

Gerry Hickman said:
Firstly, the information you would get would be shaky, in fact you'd be
lucky to get anything. Secondly it would only work if you were running as
an Admin of the remote box.
 
Here's a snippet I used in one of my projects for some WMI stuff
Imports System.IO

'**************

Dim procStr As String, hrdDrvStr As String

Dim moReturn As Management.ManagementObjectCollection

Dim moSearch As Management.ManagementObjectSearcher

Dim mo As Management.ManagementObject

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

moReturn = moSearch.Get

For Each mo In moReturn

procStr = Trim(mo("ProcessorID"))

Next

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

moReturn = moSearch.Get

For Each mo In moReturn

hrddrvStr = Trim(mo("SerialNumber"))

Next

There's a start for you...........

BUC
 

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