Click here to Skip to main content
15,916,693 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unhandled exception while compiling c# project in mono Pin
Dave Kreskowiak12-Nov-08 4:15
mveDave Kreskowiak12-Nov-08 4:15 
GeneralRe: Unhandled exception while compiling c# project in mono Pin
#realJSOP12-Nov-08 5:03
professional#realJSOP12-Nov-08 5:03 
GeneralRe: Unhandled exception while compiling c# project in mono Pin
Dave Kreskowiak12-Nov-08 12:04
mveDave Kreskowiak12-Nov-08 12:04 
QuestionAlligning Dynamic Radio button [modified] Pin
B8712-Nov-08 2:49
B8712-Nov-08 2:49 
AnswerRe: Alligning Dynamic Radio button Pin
Andrew Rissing12-Nov-08 3:46
Andrew Rissing12-Nov-08 3:46 
AnswerRe: Alligning Dynamic Radio button Pin
ScottM112-Nov-08 3:53
ScottM112-Nov-08 3:53 
QuestionDirectory Contents Change Comparison Pin
Jammer12-Nov-08 2:39
Jammer12-Nov-08 2:39 
AnswerRe: Directory Contents Change Comparison Pin
Simon P Stevens12-Nov-08 3:13
Simon P Stevens12-Nov-08 3:13 
Jammer wrote:
Does this concept overall make sense?


Pretty much, although bear in mind, that if you only hash the filenames, you won't detect any difference if the file contents change. Is this ok for what you are trying to achieve?

If you need to monitor for contents changes too you will need to hash the whole file. Obviously, bear in mind that hashing every file and directory on a system is likely to take quite a long time.

Perhaps take a look at the
FileSystemWatcher[^] class. It allows you to be notified when changes are made to the file system. You could use this, but obviously your program would have to be running all the time to respond to the events.

Simon

GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 3:29
Jammer12-Nov-08 3:29 
AnswerRe: Directory Contents Change Comparison Pin
Pete O'Hanlon12-Nov-08 9:20
mvePete O'Hanlon12-Nov-08 9:20 
GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 9:22
Jammer12-Nov-08 9:22 
GeneralRe: Directory Contents Change Comparison Pin
Pete O'Hanlon12-Nov-08 9:30
mvePete O'Hanlon12-Nov-08 9:30 
GeneralRe: Directory Contents Change Comparison Pin
Jammer12-Nov-08 9:31
Jammer12-Nov-08 9:31 
QuestionCrystal report - urgent Pin
muharrem12-Nov-08 2:24
muharrem12-Nov-08 2:24 
AnswerRe: Crystal report - urgent Pin
Paul Conrad12-Nov-08 3:39
professionalPaul Conrad12-Nov-08 3:39 
Questioninsert in a stored procedure Pin
swjam12-Nov-08 1:46
swjam12-Nov-08 1:46 
AnswerRe: insert in a stored procedure Pin
Ashfield12-Nov-08 2:13
Ashfield12-Nov-08 2:13 
AnswerRe: insert in a stored procedure Pin
Simon P Stevens12-Nov-08 3:07
Simon P Stevens12-Nov-08 3:07 
AnswerRe: what do i put in the primary key value in my insert clause? Pin
swjam12-Nov-08 4:07
swjam12-Nov-08 4:07 
GeneralRe: what do i put in the primary key value in my insert clause? Pin
J4amieC12-Nov-08 4:58
J4amieC12-Nov-08 4:58 
QuestionDijkstra shortest path Help Pin
dudz198712-Nov-08 1:31
dudz198712-Nov-08 1:31 
AnswerRe: Dijkstra shortest path Help Pin
Simon P Stevens12-Nov-08 2:59
Simon P Stevens12-Nov-08 2:59 
Questionaccess store procedure Pin
George_George12-Nov-08 1:30
George_George12-Nov-08 1:30 
AnswerRe: access store procedure Pin
Simon P Stevens12-Nov-08 2:57
Simon P Stevens12-Nov-08 2:57 
GeneralRe: access store procedure Pin
George_George12-Nov-08 21:32
George_George12-Nov-08 21:32 

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.