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

Class ContentTypeParser

Parses a Content-Type header value into a ContentType object.

Inheritance
object
ContentTypeParser
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.Parsing
Assembly: DRIT.Mail.dll
Syntax
public static class ContentTypeParser

Methods

View Source

Parse(string)

Parses the specified Content-Type header value.

Declaration
public static ContentType Parse(string value)
Parameters
Type Name Description
string value

The value to process.

Returns
Type Description
ContentType
View Source

ParseWithRfc2231(string)

Parses a Content-Type header value, applying RFC 2231 parameter decoding to extract decoded filenames and other parameters.

Declaration
public static ContentType ParseWithRfc2231(string value)
Parameters
Type Name Description
string value

The value to process.

Returns
Type Description
ContentType
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX