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
Group
Gets or sets the group of the file.
public string Group { get; set; }
Property Value
ModifiedDate
Gets or sets the date and time on which the file was last modified.
public DateTime ModifiedDate { get; set; }
Property Value
Name
Gets or sets the name of the file.
public string Name { get; set; }
Property Value
Owner
Gets or sets the owner of the file.
public string Owner { get; set; }
Property Value
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
Permissions
Gets or sets the file system permissions configured for this file.
public UnixFilePermissions Permissions { get; set; }
Property Value
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
SizeString
Gets the size of the file in a human readable format.
public string SizeString { get; set; }
Property Value
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.