Mono Class Library: Overview

Mono.Unix.UnixFileSystemInfo: Members

The members of Mono.Unix.UnixFileSystemInfo are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Public Properties

[read-only]
BlocksAllocatedlong. Gets the number of file system blocks used by this file system entry.
[read-only]
BlockSizelong. Gets the preferred blocksize for filesystem I/O.
[read-only]
Devicelong. Gets the device ID that this file system entry resides on.
[read-only]
DeviceTypelong. Gets the device type of this inode.
[read-only]
Existsbool. Returns a bool indicating whether the specified file system object exists.
FileAccessPermissionsFileAccessPermissions. Gets or sets the file system entry access permissions.
FileSpecialAttributesFileSpecialAttributes. Gets or sets the file system entry special attributes.
[read-only]
FileTypeFileTypes. Gets the type of this file system entry.
[read-only]
FullNamestring. Gets the fully-qualified path name.
[read-only]
Inodelong. Gets the inode of this file system entry.
[read-only]
IsBlockDevicebool. Is UnixFileSystemInfo.FullName a FileTypes.BlockDevice?
[read-only]
IsCharacterDevicebool. Is UnixFileSystemInfo.FullName a FileTypes.CharacterDevice?
[read-only]
IsDirectorybool. Is UnixFileSystemInfo.FullName a FileTypes.Directory?
[read-only]
IsFifobool. Is UnixFileSystemInfo.FullName a FileTypes.Fifo?
[read-only]
IsRegularFilebool. Is UnixFileSystemInfo.FullName a FileTypes.RegularFile?
[read-only]
IsSetGroupbool. Does UnixFileSystemInfo.FileSpecialAttributes include FileSpecialAttributes.SetGroupId?
[read-only]
IsSetUserbool. Does UnixFileSystemInfo.FileSpecialAttributes include FileSpecialAttributes.SetUserId?
[read-only]
IsSocketbool. Is UnixFileSystemInfo.FullName a FileTypes.Socket?
[read-only]
IsStickybool. Does UnixFileSystemInfo.FileSpecialAttributes include FileSpecialAttributes.Sticky?
[read-only]
IsSymbolicLinkbool. Is UnixFileSystemInfo.FullName a FileTypes.SymbolicLink?
[read-only]
LastAccessTimeDateTime. Gets or sets the last file access time expressed in local time.
[read-only]
LastAccessTimeUtcDateTime. Gets or sets the last file access time expressed in coordinated universal time (UTC).
[read-only]
LastStatusChangeTimeDateTime. Gets or sets the last status change time expressed in local time.
[read-only]
LastStatusChangeTimeUtcDateTime. Gets or sets the last status change time expressed in coordinated universal time (UTC).
[read-only]
LastWriteTimeDateTime. Gets or sets the last file write time expressed in local time.
[read-only]
LastWriteTimeUtcDateTime. Gets or sets the last file write time expressed in coordinated universal time (UTC).
[read-only]
Lengthlong. Gets the file system entry size, in bytes.
[read-only]
LinkCountlong. Gets the current link count of this file system entry.
[read-only]
abstract
Namestring. The file system entry name.
[read-only]
OwnerGroupUnixGroupInfo. Gets information about the owner group.
[read-only]
OwnerGroupIdlong. Gets the owner group id.
[read-only]
OwnerUserUnixUserInfo. Gets information about the owner user.
[read-only]
OwnerUserIdlong. Gets the owner user id.
ProtectionMono.Unix.Native.FilePermissions. Gets or sets the file system entry protection.

Protected Properties

FullPathstring. Gets or sets the fully qualified path name.
OriginalPathstring. The original string passed to the UnixFileSystemInfo(string) constructor.

Public Methods

CanAccess(Mono.Unix.Native.AccessModes) : bool
Determines whether or not the process can access UnixFileSystemInfo.FullName with the specified access mode
CreateLink(string) : UnixFileSystemInfo
Creates a hard link so that UnixFileSystemInfo.FullName and path are the same file.
CreateSymbolicLink(string) : UnixSymbolicLinkInfo
Create a symbolic link so that path "points to" UnixFileSystemInfo.FullName.
abstract
Delete()
Deletes the file system entry UnixFileSystemInfo.FullName.
GetConfigurationValue(Mono.Unix.Native.PathconfName) : long
Gets a configurable system limit or option variable associated with UnixFileSystemInfo.FullName.
static
GetFileSystemEntry(string) : UnixFileSystemInfo
Documentation for this section has not yet been entered.
Refresh()
Refreshes the file system metadata presented.
SetLength(long)
Truncate or extend UnixFileSystemInfo.FullName to be length bytes in size.
SetOwner(UnixUserInfo)
Set the owner user and owner group of UnixFileSystemInfo.FullName.
SetOwner(string)
Set the owner user ID and owner group ID of UnixFileSystemInfo.FullName.
SetOwner(UnixUserInfo, UnixGroupInfo)
Set the owner user and owner group of UnixFileSystemInfo.FullName.
SetOwner(long, long)
Set the owner user ID and owner group ID of UnixFileSystemInfo.FullName.
SetOwner(string, string)
Set the owner user ID and owner group ID of UnixFileSystemInfo.FullName.
ToStat() : Mono.Unix.Native.Stat
Converts the instance into a Mono.Unix.Native.Stat intance.
override
ToString() : string
Documentation for this section has not yet been entered.

Protected Methods

GetFileStatus(string, out Mono.Unix.Native.Stat) : bool
Gets file status information.