Reading Sysem BIOS serial Number or signature
-
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 .
-
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 .
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"; -
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 .
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
-
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 .