CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    52

    simple qustion about API

    Hi there

    I need to know how can I get the following details about the running machine. I Plan to run my application on 20 different stations and to save those data in a txt file. Later the user will send me that file.

    1. a unique identifier which represents the running machine.
    2. CPU speed and type
    3. RAM quantity
    4. Operating system name
    5. Data
    6. Time

    many thx

  2. #2
    Join Date
    Jan 2008
    Posts
    178

    Re: simple qustion about API

    Just use basic apis.
    All the code is in MSDN and PSDK.

  3. #3
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: simple qustion about API

    1. a unique identifier which represents the running machine.

    WHat is this ? unique ID is a vague information. It can mean anything.

    2. CPU speed and type
    Three Ways to Retrieve Processor Information

    3. RAM quantity
    System Information Class

    4. Operating system name
    Determine Windows Version and Edition

    5. Data
    6. Time
    Assuming you mean Date and not data, you can use GetSystemTime for both

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured