25 lines
597 B
C#
25 lines
597 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
#pragma warning disable CA2227 // 集合属性应为只读
|
|||
|
namespace FTPop
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 远程文件信息
|
|||
|
/// </summary>
|
|||
|
public class RemoteFileInfo
|
|||
|
{
|
|||
|
public string Name { get; set; }
|
|||
|
public string FullName { get; set; }
|
|||
|
public long Length { get; set; }
|
|||
|
public DateTime LastWriteTime { get; set; }
|
|||
|
public bool IsDirectory { get; set; }
|
|||
|
|
|||
|
public override string ToString()
|
|||
|
{
|
|||
|
return FullName;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|