Hi, my first question here

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NiravShah
    New Member
    • Feb 2007
    • 1

    Hi, my first question here

    Hi to all ,
    i need a c or c++ program that can be used to retrieve hard disk serial number, BIOS serial number or MAC address in order to identify a client machine.

    I have tried very hard but not got any useful data.
    Thanx in advance,
    NiravShah
    Last edited by NiravShah; Feb 17 '07, 01:44 PM. Reason: mis spelled
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by NiravShah
    Hi to all ,
    i need a c or c++ program that can be used to retrieve hard disk serial number, BIOS serial number or MAC address in order to identify a client machine.

    I have tried very hard but not got any useful data.
    Thanx in advance,
    NiravShah
    When you say client machine are you talking about a remote client being accessed from a server.
    If not you can execute programs to run commands using the system function, e.g. to call ipconfig to get MAC addresses etc (ifconfig on UNIX machines)
    Code:
        system("ipconfig/all > x");                                         /* call system */
    you can then open the file x and read the information you require. There may be commands to determine the other information you require.

    Comment

    Working...