asp.net - Get UUID of a client computer in javascript -


i need generate uuid store in database. can generate theses uuid javascript on client browser ?

can tell me how/whether can client computer identifier in asp.net/or javascript ? (the client in network not local intranet)

(what client computer indentifier? think such as: client computer mac address, or hardware guid (like cpu, network card, etc. ) ?)

currently generating uuid of client following code using activex in vbscript .

public function getuuid(strcomputer)      dim objwmi, colitems, objitem, struuid, blnvaliduuid      set objwmi = getobject("winmgmts:\\" & strcomputer & "\root\cimv2")     set colitems = objwmi.execquery("select * win32_computersystemproduct")     struuid = ""     blnvaliduuid = false     each objitem in colitems         struuid = objitem.uuid         if not isempty(struuid) or not isnull(struuid)             if (struuid <> "00000000-0000-0000-0000-000000000000") , _                 (struuid <> "ffffffff-ffff-ffff-ffff-ffffffffffff")                 blnvaliduuid = true                 exit             end if         end if     next     set objwmi = nothing     if not blnvaliduuid         set colitems = getobject("winmgmts:" & strcomputer & "\root\cimv2").instancesof("win32_networkadapter")         each objitem in colitems             if (objitem.adaptertype = "ethernet 802.3")                 if (objitem.description <> "packet scheduler miniport")                     struuid = "00000000-0000-0000-0000-" & replace(objitem.macaddress, ":", "")                     exit                 end if             end if         next         set nicset = nothing     end if     getuuid = struuid  end function 

i not want use activex anymore . rather want javascript . in javascript , have found code uniquely generate uuid depicted in following code :

var number = math.random() // 0.9394456857981651 number.tostring(36); // '0.xtis06h6' var id = number.tostring(36).substr(2, 9); 

but above javascript code getting different uuid same client when running script repeatedly .

on other hand , above vbscript generates unique id same client . script run single client pc thousand time , script generates same id pc generates different id .

i want . can me ? (this business system, , customer approved client computer hardware identifier, how can in asp.net/javascript? ) .

edit want in javascript beacause activex in vbscript , can not run script in browser except ie . want overcome limitations .

you need browser fingerprinting. fingerprintjs can used browser id: fingerprintjs2 check out eff's demo


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -