Share via


MimeHelpers Class

 

Provides helper methods used for splitting out various parts of a MIME reply.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Framework.MimeHelpers

Syntax

[SerializableAttribute]
public static class MimeHelpers
[SerializableAttribute]
public ref class MimeHelpers abstract sealed 
<SerializableAttribute>
Public NotInheritable Class MimeHelpers

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static ReadBufferSize

Gets or sets the buffer size for reading MIME data from streams.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetMimeParts(Byte[])

Gets MIME parts in a raw data stream.

System_CAPS_pubmethodSystem_CAPS_static GetMimeParts(String, Byte[])

Gets MIME parts from a data stream by using a specified boundary, and returns the raw byte stream as a MemoryStream for further manipulation.

System_CAPS_pubmethodSystem_CAPS_static GetStreamBytes(MemoryStream)

Gets bytes from a memory stream (optimization).

System_CAPS_pubmethodSystem_CAPS_static GetStreamBytes(Stream)

Gets bytes from a generic data stream.

System_CAPS_pubmethodSystem_CAPS_static GetStreamBytes(Stream, Int64)

Gets bytes from a generic data stream.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DefaultMimeBoundary

Default MIME boundary for messages.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top