Click here to Skip to main content
15,891,712 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get Time C#(read only memory) Pin
Keith Barrow30-Dec-10 4:37
professionalKeith Barrow30-Dec-10 4:37 
GeneralRe: Get Time C#(read only memory) Pin
Pete O'Hanlon30-Dec-10 4:57
mvePete O'Hanlon30-Dec-10 4:57 
GeneralRe: Get Time C#(read only memory) Pin
Trollslayer30-Dec-10 8:35
mentorTrollslayer30-Dec-10 8:35 
GeneralRe: Get Time C#(read only memory) Pin
Bernhard Hiller30-Dec-10 19:54
Bernhard Hiller30-Dec-10 19:54 
AnswerRe: Get Time C#(read only memory) Pin
Rob Philpott30-Dec-10 1:35
Rob Philpott30-Dec-10 1:35 
GeneralRe: Get Time C#(read only memory) Pin
arun_pk30-Dec-10 2:04
arun_pk30-Dec-10 2:04 
GeneralRe: Get Time C#(read only memory) Pin
Rob Philpott30-Dec-10 2:08
Rob Philpott30-Dec-10 2:08 
AnswerRe: Get Time C#(read only memory) Pin
OriginalGriff30-Dec-10 2:16
mveOriginalGriff30-Dec-10 2:16 
Without an external clock source, which cannot be altered by the user, you can't do this with complete reliability.
However, you can set up a service (which must be running in order to use your app) which monitors the current time, and records it. If it is changed backwards, then it can cause a "validation failure" on your app. This can't catch every thing, and it has to be carefully done (avoid Summer time changes causing a problem, etc.) but it can be reasonably effective.
Other options:
1) Run time limited to n hours. After your app has executed for n hours, refuse to start. This tends to be more reliable (and more friendly) as people know where they are.
2) Function limited version.

To be honest, any trial protection is a pain for honest people, and a challenge for the dishonest. It generally isn't too difficult to circumvent and you can spend more on adding it to your app than you save in lost sales...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

Questionmaking two different style of datagridview's one cell Pin
Erdinc2729-Dec-10 21:11
Erdinc2729-Dec-10 21:11 
AnswerRe: making two different style of datagridview's one cell Pin
_Erik_30-Dec-10 0:17
_Erik_30-Dec-10 0:17 
AnswerRe: making two different style of datagridview's one cell Pin
Henry Minute30-Dec-10 3:16
Henry Minute30-Dec-10 3:16 
AnswerRe: making two different style of datagridview's one cell Pin
Dave Kreskowiak30-Dec-10 4:24
mveDave Kreskowiak30-Dec-10 4:24 
GeneralRe: making two different style of datagridview's one cell Pin
Erdinc2730-Dec-10 21:17
Erdinc2730-Dec-10 21:17 
QuestionC# IME (Input Method Editor) Pin
vnmatt29-Dec-10 19:57
vnmatt29-Dec-10 19:57 
AnswerRe: C# IME (Input Method Editor) Pin
Richard MacCutchan29-Dec-10 22:40
mveRichard MacCutchan29-Dec-10 22:40 
AnswerRe: C# IME (Input Method Editor) Pin
Michael Agroskin30-Dec-10 16:22
Michael Agroskin30-Dec-10 16:22 
GeneralRe: C# IME (Input Method Editor) Pin
vnmatt31-Dec-10 3:52
vnmatt31-Dec-10 3:52 
AnswerRe: C# IME (Input Method Editor) Pin
greg ofiesh13-Jan-11 7:47
greg ofiesh13-Jan-11 7:47 
QuestionDetection of Facial Feature points in OpenCV Pin
mkfrns29-Dec-10 19:45
mkfrns29-Dec-10 19:45 
AnswerRe: Detection of Facial Feature points in OpenCV Pin
JF201529-Dec-10 21:52
JF201529-Dec-10 21:52 
QuestionReading registry keys Pin
rakeshs31229-Dec-10 18:23
rakeshs31229-Dec-10 18:23 
AnswerRe: Reading registry keys Pin
Abhinav S29-Dec-10 18:31
Abhinav S29-Dec-10 18:31 
AnswerRe: Reading registry keys Pin
RaviRanjanKr29-Dec-10 18:50
professionalRaviRanjanKr29-Dec-10 18:50 
AnswerRe: Reading registry keys Pin
Anil Kumar.Arvapalli29-Dec-10 20:44
Anil Kumar.Arvapalli29-Dec-10 20:44 
GeneralRe: Reading registry keys Pin
PIEBALDconsult30-Dec-10 2:24
mvePIEBALDconsult30-Dec-10 2:24 

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.