Mono Class Library: Mono.Unix.UnixFileSystemInfo Overview | Members

Mono.Unix.UnixFileSystemInfo Constructor

Creates a Mono.Unix.UnixFileSystemInfo subclass.

protected UnixFileSystemInfo (string path)

Parameters

path
A string containing the name of the file system object to query.

Exceptions

TypeReason
ArgumentNullExceptionpath is null.
ArgumentException

path is a zero-length string.

-or-

path contains an invalid character. See UnixPath.GetInvalidPathChars.

Remarks

The path argument is permitted to specify relative or absolute path information. Relative path information is interpreted as relative to the current working directory.
Note: To obtain the current working directory, see UnixDirectoryInfo.GetCurrentDirectory.

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0