Table of Contents

Method Open

Namespace
LMKit.Cryptography
Assembly
LM-Kit.NET.dll

Open(string, string)

Open an encrypted container for reading.

public static EncryptedGguf.Reader Open(string path, string password)

Parameters

path string
password string

Returns

EncryptedGguf.Reader

Open(Stream, string, bool)

Open an encrypted container for reading from a caller-supplied stream. The stream must be readable and seekable. When leaveOpen is false (the default), the reader owns the stream and disposes it; otherwise the caller retains ownership.

public static EncryptedGguf.Reader Open(Stream stream, string password, bool leaveOpen = false)

Parameters

stream Stream
password string
leaveOpen bool

Returns

EncryptedGguf.Reader
Share