Method | Description | |
---|---|---|
Close ( ) : void |
Closes the underling stream if it's open.
|
|
Save ( System path, bool overwrite ) : System.IO.FileInfo |
Saves of the attachment to a file in the given path. If the file was already saved, the previous System.IO.FileInfo is returned. |
|
SharpAttachment ( System stream ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpAttachment class based on the supplied System.IO.MemoryStream.
|
public Save ( System path, bool overwrite ) : System.IO.FileInfo | ||
path | System | A |
overwrite | bool | true if the destination file can be overwritten; otherwise, false. |
return | System.IO.FileInfo |
public SharpAttachment ( System stream ) : System | ||
stream | System | |
return | System |