ComparisonFileInfo Class

Represents data about a file or directory involved in difference identified by Session.CompareDirectories method and represented by ComparisonDifference class.


Namespace: WinSCP

public sealed class ComparisonFileInfo
Public NotInheritable Class ComparisonFileInfo


Name Description
string FileName Full path to the file. Read-only.
DateTime LastWriteTime Timestamp of the last file modification. Read-only.
long Length Size of the file in bytes. Read-only.
int Length32 An alternative to Length. Particularly useful for COM hosts, that do not support 64-bit integers, such as Visual Basic. Throws OverflowException, when the file size cannot be expressed using 32-bit integer. Read-only.


Instance of the class can be created by the WinSCP assembly only. You can only get an instance of the class by calling Session.CompareDirectories.

Last modified: by martin