Page 1 of 1

How to Fix EP_RegHardwareID Api

Posted: Mon Dec 15, 2014 10:32 am
by buzzard
i'm facing a problem. I don't know is it My Fault or Enigma bug. I
usuallu use few Enigma api like EP_RegKeyDaysLeft , EP_TrialDaysLeft
in Visual Studio Express 2012. These api works fine But
EP_RegHardwareID This api does not work. Check the image please.
After protecting I always get this error message.

Image

I'm using Enigma_4.00_20140304_en.exe

Re: How to Fix EP_RegHardwareID Api

Posted: Mon Dec 15, 2014 2:37 pm
by Enigma
Hi,

This happens with latest version of .NET framework files.

Just use the function EP_RegistrationHardwareID from the EnigmaIDE.cs, it calls the native EP_RegHardwareID safely.

Re: How to Fix EP_RegHardwareID Api

Posted: Mon Dec 15, 2014 2:53 pm
by buzzard
Sorry bro, Actually I don't use c# I'm using visual Basic in .net. is there any other way please ? I also don't get any Function EP_RegistrationHardwareID from the EnigmaIDE.cs .

Re: How to Fix EP_RegHardwareID Api

Posted: Mon Dec 15, 2014 3:32 pm
by Enigma
Ah, ok...

Can you convert this C# code in VB.NET?

Code: Select all

    public static string EP_RegistrationHardwareID()
    {
        return Marshal.PtrToStringAnsi(EP_RegHardwareID());
    }

Re: How to Fix EP_RegHardwareID Api

Posted: Mon Dec 15, 2014 4:08 pm
by buzzard
Thanks bro got it. :)