There are registry values written in the windows registry Including the dates for installation and other details. Am not sure what you want to do but mostly this is what they do. Even after you uninstall the software, the registry values for the application are left in the registry.
So to answer your question: The Application uses the registry entries to know that your trial period has expired even after you remove the software and try ti re-install.