Directory.TransferTimestamps Method (String, String, PathFormat)
Click or drag to resize
DirectoryTransferTimestamps Method (String, String, PathFormat)
[AlphaFS] Transfers the date and time stamps for the specified directories.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void TransferTimestamps(
	string sourcePath,
	string destinationPath,
	PathFormat pathFormat
)

Parameters

sourcePath
Type: SystemString
The source directory to get the date and time stamps from.
destinationPath
Type: SystemString
The destination directory to set the date and time stamps.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Remarks
This method uses BackupSemantics flag to get Timestamp changed for directories.
See Also