Page 1 of 1

How to Show Hardware ID ?

Posted: Sun Jun 05, 2011 8:58 am
by buzzard
How to use "EP_RegHardwareID" ?
I can't show Hardware ID in my Project.
I'm using vb6.

Code: Select all

Private Sub Form_Load()
    Dim Name As String
    Dim Key As String

  tHardware.Text = EP_RegHardwareID   <<<< This shows Blank text.
  If EP_RegLoadAndCheckKey = 1 Then
    If EP_RegLoadKey(Name, Key) = 1 Then
      tUserInfo.Text = Name
      tKey.Text = Key
      lbUserInfo.Caption = Name
    End If
  Else
    MsgBox "Register this software to remove message!", vbExclamation
  End If
     
End Sub
Can any1 Reply please ?

Re: How to Show Hardware ID ?

Posted: Mon Jun 06, 2011 6:45 am
by Enigma
Hi buzzard,

You simply need to protect the file. Without protection all Enigma API are failing, only after protection they become to return valid results.

Re: How to Show Hardware ID ?

Posted: Mon Jun 06, 2011 7:59 pm
by prasid
Hi buzzard,

Enable this when protect?

Image