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

Mono.Unix.UnixFileSystemInfo.LinkCount Property

Gets the current link count of this file system entry.

public long LinkCount { get; }

Value

A long containing link count of this file system entry.

Exceptions

TypeReason
InvalidOperationExceptionUnixFileSystemInfo.FullName doesn't exist.

Remarks

A link count is the number of file system entries that share this UnixFileSystemInfo.Inode.

Use UnixFileSystemInfo.GetConfigurationValue(Mono.Unix.Native.PathconfName._PC_LINK_MAX) to determine the maximum link count.

Requirements

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