Table of Contents

Property ContextHibernationDirectory

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

ContextHibernationDirectory

Gets or sets the directory used to persist hibernated inference context state to disk.

public static string ContextHibernationDirectory { get; set; }

Property Value

string

Remarks

When an inference context is hibernated without an explicit file path, a unique file is generated inside this directory. If not set, defaults to the system temp folder (GetTempPath()). The directory is created automatically if it does not exist.

Exceptions

ArgumentException

Thrown if the provided path is null, empty, or whitespace during a set operation.

Share