Click here to Skip to main content
16,014,591 members
Home / Discussions / C#
   

C#

 
AnswerRe: Simple Question About Sending/Receiving Data To/From A Server Pin
#realJSOP14-Feb-10 15:31
professional#realJSOP14-Feb-10 15:31 
GeneralRe: Simple Question About Sending/Receiving Data To/From A Server Pin
BlitzPackage14-Feb-10 15:59
BlitzPackage14-Feb-10 15:59 
GeneralRe: Simple Question About Sending/Receiving Data To/From A Server Pin
#realJSOP15-Feb-10 0:08
professional#realJSOP15-Feb-10 0:08 
Questioncompare files for duplicates Pin
Yustme14-Feb-10 11:02
Yustme14-Feb-10 11:02 
AnswerRe: compare files for duplicates [modified] Pin
Luc Pattyn14-Feb-10 11:56
sitebuilderLuc Pattyn14-Feb-10 11:56 
GeneralRe: compare files for duplicates Pin
Yustme14-Feb-10 12:15
Yustme14-Feb-10 12:15 
GeneralRe: compare files for duplicates Pin
Luc Pattyn14-Feb-10 12:20
sitebuilderLuc Pattyn14-Feb-10 12:20 
AnswerRe: compare files for duplicates Pin
Alan Balkany16-Feb-10 4:27
Alan Balkany16-Feb-10 4:27 
Comparing file contents is slow, so you only want to do it when you have to. You can go through the drives and build a hash table of files and their sizes. Different sizes mean no duplicates.

For the files that have the same size, the next step is to look at contents (I'm assuming you also want to detect duplicate contents stored under different names, or with different times.) You could store check sums with the files, as Luc suggested, but check sums could be wrong for similar files. They can be used for avoiding comparing file contents: If the check sums are different, the files are different. But if they're the same, you have to look at the contents for confirmation.
QuestionFinger print reader. Pin
Wamuti14-Feb-10 8:13
Wamuti14-Feb-10 8:13 
AnswerRe: Finger print reader. Pin
Abhinav S14-Feb-10 9:59
Abhinav S14-Feb-10 9:59 
Questionhow to include speech lib Pin
naghoumeh1414-Feb-10 7:46
naghoumeh1414-Feb-10 7:46 
AnswerRe: how to include speech lib [modified] Pin
Keith Barrow14-Feb-10 10:01
professionalKeith Barrow14-Feb-10 10:01 
GeneralRe: how to include speech lib Pin
naghoumeh1414-Feb-10 10:28
naghoumeh1414-Feb-10 10:28 
GeneralRe: how to include speech lib Pin
Keith Barrow14-Feb-10 10:34
professionalKeith Barrow14-Feb-10 10:34 
QuestionHow to work on BNC POS Printer Pin
CoderForEver14-Feb-10 7:22
CoderForEver14-Feb-10 7:22 
AnswerRe: How to work on BNC POS Printer Pin
Luc Pattyn14-Feb-10 7:29
sitebuilderLuc Pattyn14-Feb-10 7:29 
GeneralRe: How to work on BNC POS Printer Pin
CoderForEver14-Feb-10 7:35
CoderForEver14-Feb-10 7:35 
AnswerRe: How to work on BNC POS Printer Pin
Luc Pattyn14-Feb-10 7:38
sitebuilderLuc Pattyn14-Feb-10 7:38 
JokeRe: How to work on BNC POS Printer Pin
Dan Mos14-Feb-10 7:43
Dan Mos14-Feb-10 7:43 
GeneralRe: How to work on BNC POS Printer Pin
CoderForEver14-Feb-10 7:47
CoderForEver14-Feb-10 7:47 
GeneralRe: How to work on BNC POS Printer Pin
Richard MacCutchan14-Feb-10 9:22
mveRichard MacCutchan14-Feb-10 9:22 
GeneralRe: How to work on BNC POS Printer Pin
CoderForEver14-Feb-10 9:35
CoderForEver14-Feb-10 9:35 
GeneralRe: How to work on BNC POS Printer Pin
Richard MacCutchan14-Feb-10 9:40
mveRichard MacCutchan14-Feb-10 9:40 
AnswerRe: How to work on BNC POS Printer Pin
Luc Pattyn14-Feb-10 9:46
sitebuilderLuc Pattyn14-Feb-10 9:46 
AnswerRe: How to work on BNC POS Printer Pin
Thomas Krojer14-Feb-10 23:53
Thomas Krojer14-Feb-10 23:53 

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.