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 = 0The email address is redacted.
Example: "email@example.com" becomes "*****************"
FirstHalfUsername = 4The first half of the username is redacted.
Example: "email@example.com" becomes "***il@example.com"
FixedLength = 1The email address is redacted with a fixed width.
Example: "email@example.com" becomes "********"
Full = 2Only the @ symbol and final dot is shown.
Example: "email@example.com" becomes "*****@****."
Middle = 5The second half of the username and the first half of the domain are redacted.
Example: "email@example.com" becomes "em*********le.com"
MostUsername = 6Only 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 = 7Only 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 = 3The username is redacted.
Example: "email@example.com" becomes "*****@example.com"