LumiSoft Net Help
MimeUtils Class
NamespacesLumiSoft.Net.MimeMimeUtils
Provides mime related utility methods.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")]
public class MimeUtils
<ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")>
Public Class MimeUtils
[ObsoleteAttribute(L"See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")]
public ref class MimeUtils
[<ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")>]
type MimeUtils =  class end
Members
All MembersConstructorsMethods



IconMemberDescription
MimeUtils()()()()
Initializes a new instance of the MimeUtils class

ContentDispositionToString(ContentDisposition_enum)
Converts ContentDisposition_enum to string. NOTE: Returns null for ContentDisposition_enum.NotSpecified.

ContentTransferEncodingToString(ContentTransferEncoding_enum)
Converts ContentTransferEncoding_enum to string. NOTE: Returns null for ContentTransferEncoding_enum.NotSpecified.

CreateMessageID()()()()
Creates Rfc 2822 3.6.4 message-id. Syntax: '<' id-left '@' id-right '>'.

DateTimeToRfc2822(DateTime)
Converts date to rfc 2822 date time string.

DecodeWords(String)
Decodes "encoded-word"'s from the specified text. For more information see RFC 2047.

EncodeHeaderField(String)
Encodes header field with quoted-printable encoding, if value contains ANSI or UNICODE chars.

EncodeWord(String)
Encodes specified text as "encoded-word" if encode is required. For more information see RFC 2047.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
FoldData(String)
Folds long data line to folded lines.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MediaTypeToString(MediaType_enum)
Converts MediaType_enum to string. NOTE: Returns null for MediaType_enum.NotSpecified.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ParseContentDisposition(String)
Parses ContentDisposition_enum from Content-Disposition: header field value.

ParseContentTransferEncoding(String)
Parses ContentTransferEncoding_enum from Content-Transfer-Encoding: header field value.

ParseDate(String)
Parses rfc 2822 datetime.

ParseHeaderField(String, Stream)
Parse header specified header field value. Use this method only if you need to get only one header field, otherwise use MimeParser.ParseHeaderField(string fieldName,string headers). This avoid parsing headers multiple times.

ParseHeaderField(String, String)
Parse header specified header field value.

ParseHeaderFiledParameter(String, String, String)
Parses header field parameter value. For example: CONTENT-TYPE: application\octet-stream; name="yourFileName.xxx", fieldName="CONTENT-TYPE:" and subFieldName="name".

ParseHeaders(Stream)
Parses headers from message or mime entry.

ParseMediaType(String)
Parses MediaType_enum from Content-Type: header field value.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
MimeUtils

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119