NotToday Posted April 10, 2014 Share Posted April 10, 2014 (edited) Bu kodlarla bios serialini almayı denedim.Versiyonu aldı fakat serial boş dönüyor.Buna bir çözüm var mı? obj = luacom.GetObject ( "winmgmts:{impersonationLevel=impersonate}!\\\\.\\root\\cimv2"); if (obj ~= nil) then objEnum = obj:ExecQuery("Select * From Win32_BIOS"); if (objEnum ~= nil) then enum = luacom.GetEnumerator(objEnum) item = enum:Next () if ( item ~= nil) then str_product = "BiOs Serial : "..item:SerialNumber().."\r\n".. "BiOs Versiyon : "..item:Version().."\r\n" Dialog.Message("Notice", str_product, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end end end Edited April 10, 2014 by NotToday Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.