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

Mono.Unix.UnixFileSystemInfo.IsSocket Property

Is UnixFileSystemInfo.FullName a FileTypes.Socket?

public bool IsSocket { get; }

Value

A bool indicating whether or not UnixFileSystemInfo.FullName is a FileTypes.Socket.

Exceptions

TypeReason
InvalidOperationExceptionUnixFileSystemInfo.FullName doesn't exist.

Remarks

This is equivalent to comparing UnixFileSystemInfo.FileType to FileTypes.Socket.

Requirements

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