The easiest way for you to do so would be to have your component check a
value in the registry that would note it’s first use/install date and then
compare that date + your time limit to the current date and act accordingly.
In order to populate that registry entry to begin with, on each load of your
component it would need to check for the presence of it, and if it does not
yet exist, create it with the current date.
This method does suffer from an obvious flaw that if a user of your
component chooses, they can easily tweak the registry value themselves every
few days to keep them within the calculated window. If you wanted to take
some steps to prevent that, you could also store a hash of the date, or
encrypt the date and store that in the registry so that it is not obvious
what the value is.
Unfortunately, none of this will prevent someone who is determined to keep
the trial working indefinitely, but it will make it a bit harder.
Brendan