Retrieve remot computer and monitor serial number in C#

431 views
Skip to first unread message

board.ch...@googlemail.com

unread,
Sep 20, 2009, 10:17:03 AM9/20/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi all,

I am currently developing a C# application that will search through
the registry for some information about the computer, for example, cpu
name and type and storing it in a database to keep an inventory of all
the computers.

I have got it working to be able to get the computer processor
information but I can not find any way in the registry for finding the
computer serial number and monitor serial number.

Can anyone tell me the registry key where the information is stored or
any other way in c# that i can get this information out from a remote
computer over a network.

I do not need to know product licence keys and Licence/Product keys.

Any help in this matter would be highly appreciated.

Thank you

Processor Devil

unread,
Sep 21, 2009, 1:31:39 AM9/21/09
to dotnetde...@googlegroups.com
Man, use WMI :).
You will find all you want and you can search it on a remote computer on the network as well :)

board.ch...@googlemail.com

unread,
Sep 21, 2009, 10:20:57 AM9/21/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi, thanks for the reply,

I have managed to find the serial number now using the wmci command in
windows.

I have had a look at your sugesstion for the wmi and found information
on how to get the monitor serial number. However all the information
doesn't seem to be the manufacturers serial number of the monitor and
instead shows its resultion monitor and id and PnpId.

Do you have any more ideas.

Thanks

On 21 Sep, 06:31, Processor Devil <processor.de...@gmail.com> wrote:
> Man, use WMI :).You will find all you want and you can search it on a remote
> computer on the network as well :)
>
> 2009/9/20 board.christop...@googlemail.com <board.christop...@googlemail.com
>
>
>
>
>
> > Hi all,
>
> > I am currently developing a C# application that will search through
> > the registry for some information about the computer, for example, cpu
> > name and type and storing it in a database to keep an inventory of all
> > the computers.
>
> > I have got it working to be able to get the computer processor
> > information but I can not find any way in the registry for finding the
> > computer serial number and monitor serial number.
>
> > Can anyone tell me the registry key where the information is stored or
> > any other way in c# that i can get this information out from a remote
> > computer over a network.
>
> > I do not need to know product licence keys and Licence/Product keys.
>
> > Any help in this matter would be highly appreciated.
>
> > Thank you- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages