DataStandardizer.Communication
Strongly-typed support for communication-related data standards: ITU-T E.164 international telephone numbers, and MIME media types, transfer encodings, character sets and other building blocks of internet messages.
dotnet add package DataStandardizer.Communication
Standards
| Standard | What it provides |
|---|---|
| ITU-T E.164 | The international public telecommunication numbering plan — international telephone numbers for geographic areas, global services, networks, groups of countries, and trials, with parsing and culture-aware formatting. |
| RFC 2045, RFC 2046 | MIME: media types and their parameters, and the base64 and quoted-printable transfer encodings. |
| RFC 2047 | Encoded words, which carry text that isn’t US-ASCII in a message header. |
| RFC 2231 | Parameter values that are split into sections or have a character set and language. |
| RFC 2397 | data: URIs. |
| RFC 2978, RFC 6657 | Character set names, and the default character set of a text media type. |
| RFC 4289 | Extension transfer encodings. |
| RFC 4648 | The strict base64 of §4, used by iCalendar BINARY values and “B” encoded words. |
| RFC 6838, RFC 6839 | Media type naming rules, registration trees and structured syntax suffixes. |
The MIME types are new in version 2.0, and are in the DataStandardizer.Communication.Mime namespace.
Platform support
Targets .NET Standard 1.1 and 2.0 for use in legacy applications, as well as in-support modern .NET runtimes (.NET 10).
How-to guides
- Use E.164 international numbers
- Use media types
- Use RFC 2231 parameter values
- Encode and decode with base64 and quoted-printable
- Resolve character sets
- Use data URIs
- Use encoded words
Concepts
Reference
Table of contents
- Use E.164 international numbers
- Use media types
- Use RFC 2231 parameter values
- Encode and decode with base64 and quoted-printable
- Resolve character sets
- Use data URIs
- Use encoded words
- The E.164 number model
- The MIME layer
- API reference
- IItuE164Field Interface
- IItuE164InternationalNumber Interface
- IItuE164InternationalNumberForGeographicAreas Interface
- IItuE164InternationalNumberForGlobalServices Interface
- IItuE164InternationalNumberForGroupsOfCountries Interface
- IItuE164InternationalNumberForNetworks Interface
- IItuE164InternationalNumberForTrials Interface
- IMimeCharsetResolver Interface
- ITelephonyNumber Interface
- ItuE164AssignedCountryCodesForGeographicAreas Enum
- ItuE164AssignedCountryCodesForGlobalServices Enum
- ItuE164AssignedCountryCodesForGroupsOfCountries Enum
- ItuE164AssignedCountryCodesForNetworks Enum
- ItuE164AssignedCountryCodesForTrials Enum
- ItuE164AssignedGroupIdentificationCodesForGroupsOfCountries Enum
- ItuE164AssignedIdentificationCodesForNetworks Enum
- ItuE164AssignedTrialIdentificationCodesForTrials Enum
- ItuE164GlobalSubscriberNumber Struct
- ItuE164InternationalNumber Struct
- ItuE164InternationalNumberFormatInfo Class
- ItuE164InternationalNumberStyles Enum
- ItuE164NationalSignificantNumber Struct
- ItuE164SharedCodeAttribute Class
- ItuE164SubscriberNumber Struct
- MimeBase64 Class
- MimeBase64Decoder Class
- MimeBase64DecoderOptions Enum
- MimeBase64Encoder Class
- MimeBase64Mode Enum
- MimeCharset Struct
- MimeCharsetResolver Class
- MimeDataDomain Enum
- MimeDataUri Struct
- MimeEncodedWord Struct
- MimeEncodedWordContext Enum
- MimeEncodedWordEncoding Enum
- MimeEncodedWordParseOptions Enum
- MimeMediaType Struct
- MimeMediaTypeParseOptions Enum
- MimeParameter Struct
- MimeQuotedPrintable Class
- MimeQuotedPrintableDecoder Class
- MimeQuotedPrintableDecoderOptions Enum
- MimeQuotedPrintableEncoder Class
- MimeQuotedPrintableEncoderOptions Enum
- MimeQuotedPrintableMode Enum
- MimeRegistrationTree Enum
- MimeTopLevelTypes Class
- MimeTransferEncoding Struct
- TelephonyInfo Class