Table of Contents

Class ArchiveFormatRegistryNames

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

Maps ArchiveFormat/ArchiveContainerFormat to the registry-string vocabulary used by GroupPolicyOptions.AllowedFormats/BlockedFormats (T-F51). The two enums don't line up 1:1 — e.g. creating ArchiveContainerFormat.TarGz is later detected on extraction as ArchiveFormat.GZip — so both map onto the same 9-name vocabulary rather than each having its own registry string set.

public static class ArchiveFormatRegistryNames
Inheritance
ArchiveFormatRegistryNames
Inherited Members

Methods

ToRegistryName(ArchiveContainerFormat)

Maps a creation-time container format to its GPO registry-string name.

public static string ToRegistryName(ArchiveContainerFormat format)

Parameters

format ArchiveContainerFormat

Returns

string

ToRegistryName(ArchiveFormat)

Maps a detected-on-extraction format to its GPO registry-string name.

public static string ToRegistryName(ArchiveFormat format)

Parameters

format ArchiveFormat

Returns

string