winforms - C# win. form - How to maintain date/time for trial -


i creating trial version of application.

the trial should run maximum of 3 days.

recently came understand isn't simple. tried use system date count 3 days user changes current date past day increases trial period. so, can suggest how maintain 3 days trial?

software development platform : visual studio 2008

language : c# (windows form)

you may try :

save start date. if start date higher current time -> exit

or may switch : count minutes program running. on 600 ->exit (or 800 or 900)

or may time internet, not local :

http://www.timeapi.org/utc/now


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -