Sinisterly
HWID Finder (Source) - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: HWID Finder (Source) (/Thread-HWID-Finder-Source)



HWID Finder (Source) - H3ROiN - 03-16-2011

HWID Finder source and release

What you need:
1 textbox
2 Buttons

Code:
Imports System.Management Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cpuInfo As String = String.Empty Dim mc As New ManagementClass("win32_processor") Dim moc As ManagementObjectCollection = mc.GetInstances() For Each mo As ManagementObject In moc If cpuInfo = "" Then cpuInfo = mo.Properties("processorID").Value.ToString() Exit For End If Next TextBox1.Text = cpuInfo End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox("Credits: H3ROiN " &newvbline "Jeroed") End Sub End Class


If you get errors:
Project> add reference> .NET> System management



HWID Finder (Source) - H3ROiN - 03-16-2011

HWID Finder source and release

What you need:
1 textbox
2 Buttons

Code:
Imports System.Management Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cpuInfo As String = String.Empty Dim mc As New ManagementClass("win32_processor") Dim moc As ManagementObjectCollection = mc.GetInstances() For Each mo As ManagementObject In moc If cpuInfo = "" Then cpuInfo = mo.Properties("processorID").Value.ToString() Exit For End If Next TextBox1.Text = cpuInfo End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox("Credits: H3ROiN " &newvbline "Jeroed") End Sub End Class


If you get errors:
Project> add reference> .NET> System management



RE: HWID Finder (Source) - Coder-san - 03-16-2011

This is copied from [link=http://www.gamerzplanet.net/forums/vb-net/519589-hwid-finder-source.html]gamerzPlanet - HWID Finder source and release[/link]
You just changed the Credits in the MessageBox.


RE: HWID Finder (Source) - Coder-san - 03-16-2011

This is copied from [link=http://www.gamerzplanet.net/forums/vb-net/519589-hwid-finder-source.html]gamerzPlanet - HWID Finder source and release[/link]
You just changed the Credits in the MessageBox.