Table of Contents

Enum EmailAddressRedaction

Namespace
ZeroRedact
Assembly
ZeroRedact.dll

Defines the different types of redactions that can be applied to an email address.

public enum EmailAddressRedaction

Fields

All = 0

The email address is redacted.

Example: "email@example.com" becomes "*****************"

FirstHalfUsername = 4

The first half of the username is redacted.

Example: "email@example.com" becomes "***il@example.com"

FixedLength = 1

The email address is redacted with a fixed width.

Example: "email@example.com" becomes "********"

Full = 2

Only the @ symbol and final dot is shown.

Example: "email@example.com" becomes "*****@****."

Middle = 5

The second half of the username and the first half of the domain are redacted.

Example: "email@example.com" becomes "em*********le.com"

MostUsername = 6

Only the first and last characters of the username are shown along with showing the full domain.

Example: "email@example.com" becomes "e***l@example.com"

ShowFirstCharacters = 7

Only the first character of the username and host are shown along with showing the full domain.

Example: "email@example.com" becomes "e****@e******.com"

Username = 3

The username is redacted.

Example: "email@example.com" becomes "*****@example.com"