FileGetFileIdTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Gets the unique identifier for a file. The identifier is composed of a 64-bit volume serial number and 128-bit file system entry identifier.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static FileIdInfo GetFileIdTransacted(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function GetFileIdTransacted (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As FileIdInfo
public:
static FileIdInfo GetFileIdTransacted(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member GetFileIdTransacted :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> FileIdInfo
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to the file. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
FileIdInfo[Missing <returns> documentation for "M:Alphaleonis.Win32.Filesystem.File.GetFileIdTransacted(Alphaleonis.Win32.Filesystem.KernelTransaction,System.String,Alphaleonis.Win32.Filesystem.PathFormat)"]
Remarks File IDs are not guaranteed to be unique over time, because file systems are free to reuse them. In some cases, the file ID for a file can change over time.
See Also