Class MIMEBoundaryPart
Description for DigestPart - multipart class to store/manage parts in rfc882 format.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.MIME.Base.Implementation.Parts
Assembly: Syncfusion.MIME.Base.dll
Syntax
public class MIMEBoundaryPart : MIMEPart, IMIMEBoundaryPart, IMIMEPart, IMIMESerialization
Constructors
MIMEBoundaryPart(String)
Main Constructor which allow to specify unique boundary.
Declaration
public MIMEBoundaryPart(string boundary)
Parameters
Type | Name | Description |
---|---|---|
System.String | boundary | unique boundary. |
Properties
Data
returns data of current part - null.
Declaration
public override Stream Data { get; set; }
Property Value
Type |
---|
System.IO.Stream |
Overrides
Header
returns header of digest part - null.
Declaration
public override IMIMEPartHeader Header { get; }
Property Value
Type |
---|
IMIMEPartHeader |
Overrides
Parts
returns collection of the parts.
Declaration
public IMIMEPartsCollection Parts { get; }
Property Value
Type |
---|
IMIMEPartsCollection |
Methods
AddDigestPart(Stream)
adding digest part from stream.
Declaration
public IMIMEPart AddDigestPart(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | stream with digest part. |
Returns
Type | Description |
---|---|
IMIMEPart | reference on added part. |
AddDigestPart(String)
add digest part from file into boundary part.
Declaration
public IMIMEPart AddDigestPart(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | path to the file with part. |
Returns
Type | Description |
---|---|
IMIMEPart | reference on added part. |
Save(Stream)
saving digest part to stream.
Declaration
public override void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | stream to write to. |