Jump to content

Android UUID-like


 Share

Recommended Posts

 

function all_trim(s)

  return s:match"^%s*(.*)":match"(.-)%s*$"

end



local fh = assert(io.popen'wmic csproduct get uuid')

result = fh:read'*a'

fh:close()

result = string.gsub(result,'UUID',"")

result = all_trim(result)

This is the code where we get a unique index from PC with lua code.

Is there a way to get a unique index with GG Lua Script?

Unique index; It shouldn't be the same on every phone.

 

Does anyone have an example.

 

Thanks in advance for the answers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.