Programming - Windows


From: VeTeRaN BoDyGuArD <chuawei1@comp.nus.edu.sg>
Subject: File identification
Date: 13 Jan 1999 08:10:39 GMT

In Windows programming, is there any way i can uniquely identify
a file without using its pathname? Eg, if the user renames a file
from c:\abc.exe to c:\def.exe, it should not matter to me, i wud
still identify it as the same file.
I tot of using the file creation time, file size and the first
few bytes of a file to determine. Is this safe?
From: LockSmith <woontong@comp.nus.edu.sg>
Subject: Re: File identification
Date: 13 Jan 1999 16:40:04 GMT

compute some sort of file signature like CRC or MD5