Accessing PC System Info

This is a discussion on Accessing PC System Info within the C Programming forums, part of the General Programming Boards category; Can anyone tell me if there is a routine/function in VC5 that can interrogate a PC Serial No. or other ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    12

    Question Accessing PC System Info

    Can anyone tell me if there is a routine/function in VC5 that can interrogate a PC Serial No. or other unique detail and report back.

    Many thanks

  2. #2
    Visionary Philosopher Sayeh's Avatar
    Join Date
    Aug 2002
    Posts
    212
    This isn't very helpful really, but you might try querying the CPU's serial number. Some Intel P4's have this.
    It is not the spoon that bends, it is you who bends around the spoon.

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    12
    Have you any idea how I may achieve this?

    Thanks

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Look up the CPUID asm instruction.....that can retrieve this info on modern Intel chips...as for older or AMD chips, the results might not be what you want

    Info on the web...

  5. #5
    .
    Join Date
    Nov 2003
    Posts
    307
    It sounds like you are trying to do something to register software. A lot of older software apps use the NIC adapter address, which is unique. The only problem is if the card fails and then is replaced. ESRI (Arc/Info, etc) products still use this method.

    Call NetBios to get a char * ADAPTER_STATUS.adapter_address.

    See:

    http://msdn.microsoft.com/library/de...tbios_952q.asp

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    12
    Any chance of an example how I do this ?

    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows system disk on an USB storage: possible?
    By BrownB in forum Tech Board
    Replies: 1
    Last Post: 11-10-2006, 03:34 AM
  2. Replies: 1
    Last Post: 10-27-2006, 01:21 PM
  3. Linking a plotter to a PC (XP system used)
    By Frandy in forum Windows Programming
    Replies: 4
    Last Post: 09-14-2004, 07:24 AM
  4. Number system base M, print numbers N digits wide...
    By biterman in forum C Programming
    Replies: 12
    Last Post: 11-19-2001, 03:31 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21