Table of Contents

Class UnixFileInformation

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the information about file found on a Unix machine.

public class UnixFileInformation : GlobalSerializableClassicBase
Inheritance
UnixFileInformation

Constructors

UnixFileInformation()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixFileInformation class.

public UnixFileInformation()

Properties

CreationDate

Gets or sets the date on which this file was created. NOTE: This information is only available when connecting to SFTP v4 servers.

public DateTime CreationDate { get; set; }

Property Value

DateTime

Group

Gets or sets the group of the file.

public string Group { get; set; }

Property Value

string

ModifiedDate

Gets or sets the date and time on which the file was last modified.

public DateTime ModifiedDate { get; set; }

Property Value

DateTime

Name

Gets or sets the name of the file.

public string Name { get; set; }

Property Value

string

Owner

Gets or sets the owner of the file.

public string Owner { get; set; }

Property Value

string

Path

Gets or sets the full path in which this file was found - for example "/etc/snmp/snmpd.conf".

public string Path { get; set; }

Property Value

string

Permissions

Gets or sets the file system permissions configured for this file.

public UnixFilePermissions Permissions { get; set; }

Property Value

UnixFilePermissions

PermissionsStrings

Gets the file system permissions configured for this file as a human readable string.

public SerializableStringCollection PermissionsStrings { get; set; }

Property Value

SerializableStringCollection

Size

Gets or sets the size of the file in bytes.

public long Size { get; set; }

Property Value

long

SizeString

Gets the size of the file in a human readable format.

public string SizeString { get; set; }

Property Value

string

Methods

ToDetailedString()

Returns the information about this file in a human readable format.

public string ToDetailedString()

Returns

string

Information about this file in a human readable format.

ToString()

Returns the file in a human readable format.

public override string ToString()

Returns

string

The file in a human readable format.