Tested On Windows Only./
Windows 7 - 8 - 8.1 - 10 - 11
also u can check this ::
www.b4x.com
Windows 7 - 8 - 8.1 - 10 - 11
B4X:
Sub RunShellCommand
Private shl As Shell
Private params As List
params.Initialize
params.Add("/c")
params.Add("WMIC CSProduct Get UUID")
shl.Initialize("shl","cmd.exe",params)
shl.WorkingDirectory = "C:\Windows\system32"
shl.Run(-1)
Wait For shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
If Success And ExitCode = 0 Then
Log("Success")
' Log($" ${StdOut} "$)
Dim st() As String = Regex.Split(CRLF,StdOut)
Dim MyUUID As String = st(1)
Log(MyUUID)
Else
Log("Error: " & StdErr)
End If
End Sub
also u can check this ::
(b4j)[juuid] Get Unique hardware ID
Get Unique hardware ID in b4j tested on windows only you can test on mac or linux 8 method to get Unique hardware id updated v1.8 fixed error in none_ui apps removed all unnecessary methods two new method added Get_HWID1 Get_HWID2 updated v2.0 Using java standard functions without...

Last edited: