Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Win32MnClass = New System.Management.ManagementClass("Win32_Processor")
- processors = Win32MnClass.GetInstances()
- For Each processor As System.Management.ManagementObject In processors
- prosesor = (processor("ProcessorID").ToString())
- TextBox1.Text = prosesor
- Next
- Inputan = prosesor
- Panjang_Input = Len(Inputan)
- For i = 1 To Panjang_Input
- Enkrip = Mid(Inputan, i, 1)
- Enkrip = Asc(Enkrip)
- Enkrip = (Enkrip + 20) - 43
- Enkrip = Chr(Enkrip)
- Output = Output & Enkrip
- Next i
- hasilenkripsi = Output
- If My.Computer.Registry.GetValue("HKEY_CURRENT_USER\" + hasilenkripsi, "Andi", "Aspin") Is Nothing Then
- MessageBox.Show("Mã kích hoạt không được phát hiện", "Warning !!", MessageBoxButtons.OK, MessageBoxIcon.Error)
- Else
- Me.Hide()
- Form2.Timer1.Enabled = False
- Form2.ShowDialog()
- End If
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement