Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to do this? Pin
Guffa11-Apr-06 7:34
Guffa11-Apr-06 7:34 
GeneralRe: How to do this? Pin
eric_tran12-Apr-06 1:36
eric_tran12-Apr-06 1:36 
QuestionMaking an app not function after some time Pin
naglbitur11-Apr-06 2:34
naglbitur11-Apr-06 2:34 
AnswerRe: Making an app not function after some time Pin
Timothy_198211-Apr-06 2:58
Timothy_198211-Apr-06 2:58 
AnswerRe: Making an app not function after some time Pin
thomasa11-Apr-06 3:04
thomasa11-Apr-06 3:04 
GeneralRe: Making an app not function after some time Pin
naglbitur11-Apr-06 3:57
naglbitur11-Apr-06 3:57 
GeneralRe: Making an app not function after some time Pin
naglbitur11-Apr-06 4:02
naglbitur11-Apr-06 4:02 
GeneralRe: Making an app not function after some time Pin
Gavin Roberts11-Apr-06 6:08
Gavin Roberts11-Apr-06 6:08 
Why don't you check when the executed file was created? Although you can change the created date/time of a file.

Even when the user changes the date/time the created date will always remain the same, then you have the problem of getting the correct date/time for that user because if they set the clock back, DateTime.Now() should return the changed date/time.

If internet access is require then I am sure you can connect to Microsofts time server to get the time, or you could use your own server.

You could try and get the bios time? Not sure how tho, and if the date/time is set back further then the date/time created for that file then stop it from working.

Then you'd have to set some sort of flag, file/registry etc just incase the user uninstalls and reinstalls as the date it was created will now be the day they un/installed the software.

Hope that helps?

Gav
AnswerRe: Making an app not function after some time Pin
Luis Alonso Ramos11-Apr-06 7:43
Luis Alonso Ramos11-Apr-06 7:43 
Questionhow to decalare varible Pin
papa198011-Apr-06 2:33
papa198011-Apr-06 2:33 
AnswerRe: how to decalare varible Pin
naglbitur11-Apr-06 2:42
naglbitur11-Apr-06 2:42 
GeneralRe: how to decalare varible Pin
papa198011-Apr-06 2:58
papa198011-Apr-06 2:58 
AnswerRe: how to decalare varible Pin
Rob Philpott11-Apr-06 6:50
Rob Philpott11-Apr-06 6:50 
QuestionLaunching application from another application Pin
zaboboa11-Apr-06 2:10
zaboboa11-Apr-06 2:10 
AnswerRe: Launching application from another application Pin
J4amieC11-Apr-06 2:28
J4amieC11-Apr-06 2:28 
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 2:31
zaboboa11-Apr-06 2:31 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 5:20
Jim Bennett11-Apr-06 5:20 
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 5:48
zaboboa11-Apr-06 5:48 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 7:10
Jim Bennett11-Apr-06 7:10 
Questionhow to create a floating toolbar in c#? Pin
Sasuko11-Apr-06 2:07
Sasuko11-Apr-06 2:07 
AnswerRe: how to create a floating toolbar in c#? Pin
deanofharvard12-Apr-06 9:49
deanofharvard12-Apr-06 9:49 
QuestionTAPI driver (kind of) Pin
IAmChris11-Apr-06 1:20
IAmChris11-Apr-06 1:20 
AnswerRe: TAPI driver (kind of) Pin
Michael P Butler11-Apr-06 4:07
Michael P Butler11-Apr-06 4:07 
GeneralRe: TAPI driver (kind of) Pin
IAmChris11-Apr-06 23:52
IAmChris11-Apr-06 23:52 
QuestionChanging refresh rate Pin
Da_Masca11-Apr-06 0:51
Da_Masca11-Apr-06 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.