File.GetLastWriteTime Method (KernelTransaction, String, PathFormat)
Click or drag to resize
FileGetLastWriteTime Method (KernelTransaction, String, PathFormat)
[AlphaFS] Gets the date and time that the specified file was last written to.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static DateTime GetLastWriteTime(
	KernelTransaction transaction,
	string path,
	PathFormat pathFormat
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
The file for which to obtain write date and time information.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: DateTime
A DateTime structure set to the date and time that the specified file was last written to. This value is expressed in local time.
See Also