• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ParameterDecoder

Decodes RFC 2231 parameter continuations and charset-encoded parameter values from MIME header parameters (e.g. filename*=utf-8''... or filename0=...; filename1=...).

Inheritance
object
ParameterDecoder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Rfc.Mime.Encodings
Assembly: DRIT.Mail.dll
Syntax
public static class ParameterDecoder

Methods

View Source

Decode(IEnumerable<MimeHeaderParameter>)

Decodes RFC 2231 parameters from a collection of raw header parameters. Returns a dictionary of decoded parameter names (without continuation suffixes) to their decoded string values.

Declaration
public static Dictionary<string, string> Decode(IEnumerable<MimeHeaderParameter> parameters)
Parameters
Type Name Description
IEnumerable<MimeHeaderParameter> parameters

Specifies the parameters value.

Returns
Type Description
Dictionary<string, string>
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX