C/C++

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • CPU or MB Serial number

    3 answers - 193 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    How can I get CPU Serial number , or motherboard serial number with
    C . I need an idetification of a computer
    ThanX
    iranian python community www.python.ir
  • No.1 | | 356 bytes | |

    bayazee@gmail.com said:

    Hi,
    How can I get CPU Serial number , or motherboard serial number with
    C . I need an idetification of a computer

    char CPUSerialNumber[256] = {0}; /* should be ample */
    puts("Please enter the CPU Serial number");
    if(fgets(CPUSerialNumber, sizeof CPUSerialNumber, stdin) != NULL)
    {
    puts("Thank you.");
  • No.2 | | 473 bytes | |

    bayazee@gmail.com (in
    1152879593.556954.162250@h48g2000cwc.googlegroups. com) said:

    | Hi,
    | How can I get CPU Serial number , or motherboard serial number with
    | C . I need an idetification of a computer

    If you open up the computer's enclosure and find a serial number, and
    if the computer has a file device, you can use the editor of your
    choice to record the number in a file. You can then use fopen()
    fgets() to retrieve that number.
  • No.3 | | 477 bytes | |

    In article <1152879593.556954.162250@h48g2000cwc.googlegroups. com>,
    <bayazee@gmail.comwrote:

    >How can I get CPU Serial number , or motherboard serial number with
    >C . I need an idetification of a computer


    You can't do that in standard C.

    Furthermore, you can't do that in non-standard C on the majority of
    computers, because low-end computers do not *have* CPU or motherboard
    serial numbers.

Re: CPU or MB Serial number


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "C/C++"

EMSDN.COM