[Release]Hardware ID Finder[VB.Net]

Results 1 to 2 of 2
  1. #1

    config [Release]Hardware ID Finder[VB.Net]

    If you want to secure your programs with hardware login,it will help you to get the hardware id's.
    Just send it to your buyer and ask him for his hardware id.
    Coded in VB.NET,I won't share the source but you can get easily by google(if you want).

    Preview:
    In attachments.

    Download:
    Free File Hosting, Online Storage &amp File Upload with FileServe

    Virus Scan(0 /42):
    Click here

    P.S.: Tested on Windows 7 32Bit and it works perfectly.
    Feel free to report bugs by posting them here.

    Have Fun!
    Attached Images Attached Images
    Last edited by ThroneX; 01-05-11 at 03:21 PM.


  2. #2
    Ī© -DefaulT is offline
    MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,429Posts

    Re: [Release]Hardware ID Finder[VB.Net]

    Code:
    Imports System
    Imports System.Management
    
    Public Class clsComputerInfo
    
        Friend Function GetProcessorId() As String
            Dim strProcessorId As String = String.Empty
            Dim query As New SelectQuery("Win32_processor")
            Dim search As New ManagementObjectSearcher(query)
            Dim info As ManagementObject
    
            For Each info In search.Get()
                strProcessorId = info("processorId").ToString()
            Next
            Return strProcessorId
    
        End Function
    
        Friend Function GetMACAddress() As String
    
            Dim mc As ManagementClass = New ManagementClass("Win32_NetworkAdapterConfiguration")
            Dim moc As ManagementObjectCollection = mc.GetInstances()
            Dim MACAddress As String = String.Empty
            For Each mo As ManagementObject In moc
    
                If (MACAddress.Equals(String.Empty)) Then
                    If CBool(mo("IPEnabled")) Then MACAddress = mo("MacAddress").ToString()
    
                    mo.Dispose()
                End If
                MACAddress = MACAddress.Replace(":", String.Empty)
    
            Next
            Return MACAddress
        End Function
    
        Friend Function GetVolumeSerial(Optional ByVal strDriveLetter As String = "C") As String
    
            Dim disk As ManagementObject = New ManagementObject(String.Format("win32_logicaldisk.deviceid=""{0}:""", strDriveLetter))
            disk.Get()
            Return disk("VolumeSerialNumber").ToString()
        End Function
    
        Friend Function GetMotherBoardID() As String
    
            Dim strMotherBoardID As String = String.Empty
            Dim query As New SelectQuery("Win32_BaseBoard")
            Dim search As New ManagementObjectSearcher(query)
            Dim info As ManagementObject
            For Each info In search.Get()
    
                strMotherBoardID = info("SerialNumber").ToString()
    
            Next
            Return strMotherBoardID
    
        End Function
       
    End Class



Advertisement