Table of Contents

Class FileOpenOptions

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Options for opening files.

public sealed class FileOpenOptions
Inheritance
FileOpenOptions
Inherited Members

Properties

CacheLength

Gets or sets whether to cache file length.

public bool CacheLength { get; set; }

Property Value

bool

Remarks

Length is cached. This enables using Length and Seek(long, SeekOrigin).

CreatePermissions

Gets or sets UnixFilePermissions for newly created files.

public UnixFilePermissions CreatePermissions { get; set; }

Property Value

UnixFilePermissions

OpenMode

Gets or sets the OpenMode which controls whether to append or truncate the file.

public OpenMode OpenMode { get; set; }

Property Value

OpenMode

Seekable

Gets or sets whether the file Stream should support seeking.

public bool Seekable { get; set; }

Property Value

bool

Remarks

Controls the value of CanSeek.