|
-
Sep 2nd, 2010, 10:27 AM
#1
Thread Starter
Addicted Member
Hardware ID detector help
does any one can share Hardware ID detector .... or code
advice me...
Last edited by standard; Sep 2nd, 2010 at 10:39 AM.
-
Sep 2nd, 2010, 01:49 PM
#2
Re: Hardware ID detector help
Check out the link in my signature. It's a class that finds several hardware IDs.
-
Sep 2nd, 2010, 08:36 PM
#3
Thread Starter
Addicted Member
Re: Hardware ID detector help
sir i need only machine id how to get that ?
-
Sep 2nd, 2010, 08:48 PM
#4
Thread Starter
Addicted Member
Re: Hardware ID detector help
.... like this
20a8-4e4b-5e3c-9da0-7a57-3918-40ae-36f9
Last edited by standard; Sep 2nd, 2010 at 09:29 PM.
-
Sep 2nd, 2010, 10:28 PM
#5
Re: Hardware ID detector help
There is no "machine ID". There's many hardware IDs from various hardware components in your system and many software makers like Microsoft combine, encode and hash them into unique IDs that can be used to identify a computer; but there's no standard way to do this and everyone has their own proprietary method.
-
Sep 2nd, 2010, 11:41 PM
#6
Thread Starter
Addicted Member
Re: Hardware ID detector help
ok
I'm Using WinLisence on license management i create a license key with Hardware Id
i choose only CPU on hardware this is my code to get CPU ID but when i reg with that CPU id the license does not passed on regkey.on trial exe. whats wrong?
Code:
Imports System.Management
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = GetCpuID()
End Sub
Public Function GetCpuID() As String
Dim cpuinfo As String = String.Empty
Dim temp As String = String.Empty
Dim mc As ManagementClass = New ManagementClass("Win32_Processor")
Dim moc As ManagementObjectCollection = mc.GetInstances()
For Each mo As ManagementObject In moc
If cpuinfo = String.Empty Then
cpuinfo = mo.Properties("ProcessorId").Value.ToString
End If
Next
Return cpuinfo
End Function
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
Last edited by standard; Sep 2nd, 2010 at 11:44 PM.
-
Sep 2nd, 2010, 11:58 PM
#7
Re: Hardware ID detector help
try this
Code:
Public Shared 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
__________________
Rate the posts that helped you 
-
Sep 3rd, 2010, 12:41 AM
#8
Thread Starter
Addicted Member
Re: Hardware ID detector help
 Originally Posted by riteshjain1982
try this
Code:
Public Shared 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
here is the CPU ID got from that code = BFE9FBFF000006EC
license info:
Customer = test
Software = test
Hardware Id =BFE9FBFF000006EC
when i create the license key .. the regkey does not passed on my trial exe.
then the software said heres your right machine id = 20a8-4E4B-5E3C-9DA0-7A57-ACD7-6668-36F9
i tried this machine id "20a8-4E4B-5E3C-9DA0-7A57-ACD7-6668-36F9 " and it works ..Showbox from winlicense..
now the question is how can i get that machine id ..by vb codes..
Last edited by standard; Sep 3rd, 2010 at 02:49 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|