Aspose license

otourdes
Date: 05/26/04


Date: Wed, 26 May 2004 14:22:41 +0200

Hi !

I am trying to use Aspose License as a simple 30 day demo solution. I have
created a .lic file that only has one entry, the Expired Days=30. I then
removed all the extra code.you.

 I am getting an error when the code gets to the line

bool bGoodDemo = license.CheckExpiry();

the error is

"An unhandled exception of type 'System.FormatException' occured in
mscorblib.dll'. Additional information: String was not recognized as a valid
date time".

It actually worked the very first time I ran it, but every subsequent time
it fails. What am I doing wrong. Just to clarify, I only have one mode and
that is demo. I don't care what the company's name is, the assembly name,
domain, birthday, etc. I just want it to work for 30 days and then stop
working.

Thanks !


Quantcast