Need Help Configuring Application

Can someone please help me in configuring IsGenuine() for testing my app? I need to be able to call the function each time I launch the application (FOR TESTING ONLY) so that I can see if my Custom Licensing is working. Without calling this function, it seems that there is a cache or something and I can't test my licensing correctly.

Can someone help me to configure the following?

1) If the trial days = 0, show TurboActivate.exe2) If "Ask Me Later" is chosen, the application closes.

I have this, but I'm not sure how to configure the app closure.

private void DisableAppFeatures() { Process TAProcess = new Process { StartInfo = { FileName = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "TurboActivate.exe") }, EnableRaisingEvents = true };

TAProcess.Exited += p_Exited; TAProcess.Start();

//Application.Exit(); }

If you look at the C# example app, specifically the CheckIfActivated() function, you can close the app if isActivated is false.

Tell me if that helps.

No, this didn't help. Can you post a link to the "C# example app"? I checked all the .cs files in the TurboActivate.zip, and your"C# example app" isnt there.

Also, I don't want to close the app if it's not activated...I want to close the app if its not activate and the TurboActivate.exe is closed without activating.

No, this didn't help. Can you post a link to the "C# example app"? I checked all the .cs files in the TurboActivate.zip, and your"C# example app" isnt there.

If you follow the step-by-step walkthrough in the "Using TurboActivate with C#" article you'll see that it tells you exactly where to find the example project (It's in the API\CSharp folder).

Also, I don't want to close the app if it's not activated...I want to close the app if its not activate and the TurboActivate.exe is closed without activating.

That's what my answer covered. TurboActivate.exe is launched, the user closed it without activating, thus close your app.