Table of Contents

Class PreviewPolicy

Namespace
Archiver.Core.Services
Assembly
Archiver.Core.dll

T-F97: safe-preview-type allowlist for the Archive Browser's double-click-to-preview feature. Deliberately conservative — only formats with no known code/macro/script execution path via their typical OS default handler. See SECURITY.md.

public static class PreviewPolicy
Inheritance
PreviewPolicy
Inherited Members

Methods

IsPreviewable(string)

True if a double-click on this entry should preview instead of extract.

public static bool IsPreviewable(string entryName)

Parameters

entryName string

Returns

bool