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

Mono.Unix.UnixFileSystemInfo.Protection Property

Gets or sets the file system entry protection.

[System.CLSCompliant(false)]
public Mono.Unix.Native.FilePermissions Protection { set; get; }

See Also

Mono.Unix.Native.Stat.st_mode
Mono.Unix.Native.Syscall.stat

Value

A Mono.Unix.Native.FilePermissions value containing the file system entry protection.

Exceptions

TypeReason
InvalidOperationExceptionUnixFileSystemInfo.FullName doesn't exist.

Remarks

Requirements

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