Hi,
You can you use hash algorithm, it creates representation of file's content.
It would be unique to all the files. But yuo'll get the same result for the
same file with different name.
HashAlgorithm hashAlgorithm = HashAlgorithm.Create( "SHA1" );
FileStream fileStream = new FileStream( fullFileName, FileMode.Open,
FileAccess.Read );
byte[] hashCode = hashAlgorithm.ComputeHash( fileStream );
Foo
"Daniel" <so*******************@yahoo.com> wrote in message
news:ub**************@TK2MSFTNGP10.phx.gbl...
how to get file id in C#
is there any kind of unique id that can be obtained for any file in a file
system?