IsGenuine method

Hi,

We've merged our asp.net with the .net version of turboactivate.

We've got the unique serial license for the setup and the .net app, but we have a problem.

For our tests, we're using the IsGenuine method, but it works only sometimes.

That's our code :

Private Sub frmCargaInicial_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try 'Serial del producto dado de alta en LimeLM TurboActivate.VersionGUID = "20036662014f5f3e1f007620.98886139" TurboActivate.IsGenuine(False) If TurboActivate.IsActivated() Then MsgBox("ACTIVATED") Else MsgBox("NOT ACTIVATED") End If Catch ex As Exception MsgBox("La aplicaci no se ha podido iniciar. Por favor, contacte con el proveedor. ") End Try End Sub

In some pcs, it doesn't get into the if sentence, so the application doesn't work. We don't see any of both msgbox, but we don't know why.

What are we doing wrong?

The first thing that sticks out is that you're not using the IsGenuine function correctly. In VB.NET it should look something like this:

Dim needsReactivate As BooleanDim isGenuine As Boolean = TurboActivate.IsGenuine(needsReactivate)

Frankly I'm surprised your compiler wasn't throwing an error at what you wrote.

Tell me if this helps.

Also, why are you checking IsGenuine() on every run of your application? That's excessive. You should do it something like every 60 or 90 days.

Hi Wyatt,

First of all, thanks for you help.

We still doesn't understand quite well how LimeLM works, so we're passing some tests.

At least, we've made our .net app work with LimeLM, so we are on the right way.

I only have one more doubt. We want the setup (made with inno setup) to go into trial mode if no license number has been entered. How can we get that? We don't know hot to get it , as we haven't seen anything about trial mode, with the inno setup tutorial.

PD: Probably , for an english user, everything would be a lot of easier just reading your tutorials, but that's not our case. BTW, if you're interested on our turboactivate translations into spanish, let me know it.

Thanks again

I only have one more [question]. We want the setup (made with inno setup) to go into trial mode if no license number has been entered. How can we get that? We don't know hot to get it , as we haven't seen anything about trial mode, with the inno setup tutorial.

At the end of the Inno Setup tutorial we cover this. Namely, you ask for the product key, but continue with the installer if the product key is not preset or invalid.

Me interesa tu traducci a Espal del XML de este software, seria tan amable de proporcionmela???Gracias.

If you already have a LimeLM account, you can translate TurboActivate on the translation page.