Jump to content
  • 0

Android UUID-like


AylinCE

Question

 

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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.