ComparisonFileInfo Class

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

This feature is available only in the latest beta release.

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

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