Get Motherboard Serial Number
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Get Motherboard Serial Number

  1. #1
    Join Date
    Sep 2004
    Posts
    10

    Question Get Motherboard Serial Number

    i want code to Get Serial Number of motherboard or other device like dard disk
    but sure that this code work

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Get Motherboard Serial Number

    The GetSystemInfo function retrieves processor and memory information, such as the page size, original equipment manufacturer (OEM) identifier, number and type of processors, application address range, and so on. The IsProcessorFeaturePresent function retrieves information about the floating-point operations and instruction sets supported by the processor.

    The GetCurrentHwProfile function retrieves information about the hardware profile. The hardware profile includes information such as the docking state, globally unique identifier (GUID), and display name for the profile. The GetKeyboardType function retrieves such information as the type of keyboard and the number of function keys on the current keyboard.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Feb 2005
    Posts
    25

    hardisk manifacturer serial nuber

    Thnaks for CodeGuru,
    I have searched for a wile to get hardisk manifacturer serial nuber and i got it some where in the net ( i forgot location). Here i am attaching zip file this might help you.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2007
    Posts
    11

    Cool Re: hardisk manifacturer serial nuber

    This sample file came from Lynn McGuire.

    See the CodeGuru article: "Reading Hard Drive Manufacturing Information".

    Quote Originally Posted by suresh_bonthu
    Thnaks for CodeGuru,
    I have searched for a wile to get hardisk manifacturer serial nuber and i got it some where in the net ( i forgot location). Here i am attaching zip file this might help you.

  5. #5
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    12,559

    Re: Get Motherboard Serial Number

    You can also get this info using WMI. Attached is a sample I wrote in 2003 in C#. The sample uses an xml file as input to the type of WMI data to retrieve and exports the gathered info to an output xml file.
    Attached Files Attached Files
    Last edited by Arjay; April 30th, 2007 at 12:41 PM.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)