ComparisonFileInfo Class
Represents data about a file or directory involved in difference identified by Session.CompareDirectories method and represented by ComparisonDifference class.
Syntax
Namespace: WinSCP
C#
public sealed class ComparisonFileInfo
VB.NET
Public NotInheritable Class ComparisonFileInfo
Properties
| 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. |
Remarks
This class can only be instantiated by the WinSCP assembly. To get an instance of the class, call Session.CompareDirectories.