Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. löschen:
  2. /*Dim username As String
  3. Dim password As String
  4. username = TextBox1.Text
  5. password = TextBox2.Text
  6. Dim processor As String = getCPUID()
  7. Dim mainboard As String = getMoboSerial()
  8. Dim graphics As String = getGraphicDevice()
  9. Dim HWIDstring As String = processor & graphics & mainboard
  10. Dim hardwareid As String = getMD5Hash(HWIDstring)*/
  11. function:
  12.  
  13. public function getString(byval accept as string)
  14. if accept = "True" then
  15. Dim username As String
  16. Dim password As String
  17. username = TextBox1.Text
  18. password = TextBox2.Text
  19. Dim processor As String = getCPUID()
  20. Dim mainboard As String = getMoboSerial()
  21. Dim graphics As String = getGraphicDevice()
  22. Dim HWIDstring As String = processor & graphics & mainboard
  23. Dim hardwareid As String = getMD5Hash(HWIDstring)
  24. return hardwareid
  25. else
  26. MsgBox("ERROR!")
  27. end if
  28. end function
  29.  
  30. how to use:
  31.  
  32. dim hardwareid as string = getString(True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement