1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/dotnet/interfaces/IRemoteFileInfo.cs
Martin Prikryl b0e7134254 Merge branch 'dev'
Source commit: 405dbf95bcad125bde23283c5c13cfee156ea344
2026-06-22 16:53:40 +02:00

47 lines
1.2 KiB
C#

using System;
namespace WinSCP
{
public interface IRemoteFileInfo
{
string Name { get; }
string FullName { get; }
char FileType { get; }
long Length { get; }
int Length32 { get; set; }
DateTime LastWriteTime { get; }
FilePermissions FilePermissions { get; }
string Owner { get; }
string Group { get; }
bool IsDirectory { get; }
bool IsThisDirectory { get; }
bool IsParentDirectory { get; }
}
public interface IRemoteDirectoryInfo
{
RemoteFileInfoCollection Files { get; }
}
public interface IFilePermissions
{
string Text { get; set; }
string Octal { get; set; }
int Numeric { get; set; }
bool UserExecute { get; set; }
bool UserRead { get; set; }
bool UserWrite { get; set; }
bool GroupExecute { get; set; }
bool GroupRead { get; set; }
bool GroupWrite { get; set; }
bool OtherExecute { get; set; }
bool OtherRead { get; set; }
bool OtherWrite { get; set; }
bool Sticky { get; set; }
bool SetUid { get; set; }
bool SetGid { get; set; }
}
}