PowerTCP Mail for .NET
Resource Class Methods


For a list of all members of this type, see Resource members.

Public Methods
 NameDescription
Public MethodClearOverridden.  Reinitializes the part to default (empty) values.  
Public MethodCloneOverridden. Creates a deep copy of the Resource part, but a shallow copy of its Content.  
Public MethodContentToArray Gets a byte[] that contains decoded byte content.  
Public MethodDisposeOverloaded.  Releases all resources associated with the object. (Inherited from Dart.Mail.Part)
Public MethodGetContentEncodingStreamOverridden. Returns a Stream that encodes when System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32) is used and decodes when System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) is used.  
Public MethodGetContentStreamGets a Stream that contains decoded byte content from Content.  
Public MethodGetDecodingExceptions Returns Exceptions created during decoding. (Inherited from Dart.Mail.Part)
Public MethodGetEncodingStreamReturns a Stream that encodes when System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32) is used and decodes when System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) is used. (Inherited from Dart.Mail.Part)
Public MethodGetMediaTypeFromExtensionParses the extension from the provided path and uses it to return a string suitable for use as ContentType.MediaType.  
Public MethodToArray Returns the encoded MIME entity as a byte array. (Inherited from Dart.Mail.Part)
Public MethodToStringOverloaded.  Returns the MIME entity as a String. (Inherited from Dart.Mail.Part)
Top
See Also

Reference

Resource Class
Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic