Connecting Tech Pros Worldwide Forums | Help | Site Map

Low level file sytem access

solex
Guest
 
Posts: n/a
#1: Nov 21 '05
Hello,

I would like to get a unique number (inode) for a file, apparently the
structure above has three properties (nFileIndexHigh, nFileIndexLow and
dwVolumnSerialNumber) which in combination will yield a unique number for
the file on a particular machine. This is great but the documentation
states that the FileIndex may change if it is not in use by a process. Well
I checked this by shutting down my machine and also by moving the file
around but in both cases the FileIndex has remained the same.

Does anyone (a) know in what instance this number would actually be changed,
eg. a way to produce this change (I could not get the file index to change)
and (b) is there a way to query the file
system for a file using the FileIndex?

I would like to be able to query for any file regardless of how the user
moves it about on the file system. I would also like to do this without
creating a files system watcher. Any ideas?

Thanks,
Dan



Closed Thread


Similar Visual Basic .NET bytes