C# Class LumiSoft.Net.Mime.Attachment

Afficher le fichier Open project: jeske/StepsDB-alpha Class Usage Examples

Méthodes publiques

Méthode Description
Attachment ( string fileName ) : System

Creates attechment from file.

Attachment ( string fileName, Stream strm ) : System

Creates attachment from stream with specified file name

Attachment ( string fileName, byte fileData ) : System

Creates attachment from data with specified file name.

Method Details

Attachment() public méthode

Creates attechment from file.
public Attachment ( string fileName ) : System
fileName string File name which to attach. Eg. c:\aaa.eml .
Résultat System

Attachment() public méthode

Creates attachment from stream with specified file name
public Attachment ( string fileName, Stream strm ) : System
fileName string File name. Eg. aaa.eml .
strm Stream Stream which data to attach. NOTE: Data will be taken from stream current position.
Résultat System

Attachment() public méthode

Creates attachment from data with specified file name.
public Attachment ( string fileName, byte fileData ) : System
fileName string File name. Eg. aaa.eml .
fileData byte Data which to attach.
Résultat System