Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reading Sysem BIOS serial Number or signature

Reading Sysem BIOS serial Number or signature

Scheduled Pinned Locked Moved C#
csharpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    unitecsoft
    wrote on last edited by
    #1

    I want to use read system BIOS serial number from my C# application , any Ideas . I got an answer suggesting the use of Win32_bios wmi class , any one used it before , where can i find this class , any particular DLL ? unitecSoft We will Either Find A Way , OR Make One .

    L E H 3 Replies Last reply
    0
    • U unitecsoft

      I want to use read system BIOS serial number from my C# application , any Ideas . I got an answer suggesting the use of Win32_bios wmi class , any one used it before , where can i find this class , any particular DLL ? unitecSoft We will Either Find A Way , OR Make One .

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      unitecsoft wrote:

      I want to use read system BIOS serial number from my C# application

      I have actually done that with QBASIC running on Windows NT 4.0. I used the Peek statement. As for C# and pointers you cannot read farther than where your application's allocated memory ends. I dont know of any API that would allow you to read anything from the BIOS, but you could write a driver and then use C# to interface with it's API

      =====Brain melting code===== static int Sqrt(int x){ if (x<0) throw new ArgumentOutOfRangeException(); int temp, y=0, b=0x8000, bshft=15, v=x; do { if (v>=(temp=(y<<1)+b<>=1)>0); return y; :omg: ====TSI TLFL EEOOLHTG===== ^^^^^^^^^^^^^^^^^ Decode that and you will win.;P ============Hint=========== cout << "33 20 57 4F 52 44 53 62 63 6B 77 6F 72 64 73";

      1 Reply Last reply
      0
      • U unitecsoft

        I want to use read system BIOS serial number from my C# application , any Ideas . I got an answer suggesting the use of Win32_bios wmi class , any one used it before , where can i find this class , any particular DLL ? unitecSoft We will Either Find A Way , OR Make One .

        E Offline
        E Offline
        Eric Dahlvang
        wrote on last edited by
        #3

        System.Management.ManagementClass("Win32_BIOS");

        --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

        1 Reply Last reply
        0
        • U unitecsoft

          I want to use read system BIOS serial number from my C# application , any Ideas . I got an answer suggesting the use of Win32_bios wmi class , any one used it before , where can i find this class , any particular DLL ? unitecSoft We will Either Find A Way , OR Make One .

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          See here[^] maybe it is some helpful to you


          WhiteSky


          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups