>aoa
>hi Citin
>Try this codes, These are not all my codes but its work good
>thanks
>clear
>*!* Let's get the CPU ID
>LOCAL lcComputerName, loWMI, lowmiWin32Objects, lowmiWin32Object
>lcComputerName = GETWORDNUM(SYS(0),1)
>loWMI = GETOBJECT("WinMgmts://" + lcComputerName)
>lowmiWin32Objects = loWMI.InstancesOf("Win32_Processor")
>FOR EACH lowmiWin32Object IN lowmiWin32Objects
> WITH lowmiWin32Object
> ? "ProcessorId: " + TRANSFORM(.ProcessorId)
> ENDWITH
>ENDFOR
If you say it works and works everywhere, what I can I say. Try on different OS + CPU before saying it works.
Also if even ever works on all OS + CPU please read what the ProcessorID member of Win32_processor is.
PS: If you read my original reply you'd notice that I say '...might work on your...'
Cetin