Table of Contents

Class EncryptMessageArgs

Espace de noms
SecureExchangesSDK.Models.Args
Assembly
SecureExchangesSDK.NetCore.dll

Use to Encrypt a message

[Serializable]
public class EncryptMessageArgs : IFiles, ILocalFile, IAuthenticatedEndpoint, IAuthenticationNeeded, IEndPointConfiguration, IEndPointName, IUriBindingConfiguration
Héritage
EncryptMessageArgs
Implements
Membres hérités
Extension Methods

Constructors

EncryptMessageArgs(Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string)

public EncryptMessageArgs(Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID)

Paramètres

serial Guid
user Guid
psw Guid
message string
subject string
email string
phone string
password string
filesList List<FileArgs>
sendMode SendMethodEnum
getBackHtml bool
showSubject bool
getNotify bool
cultureID string

EncryptMessageArgs(Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string, int, int)

public EncryptMessageArgs(Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID, int maximumOpenTime, int minutesExpiration)

Paramètres

serial Guid
user Guid
psw Guid
message string
subject string
email string
phone string
password string
filesList List<FileArgs>
sendMode SendMethodEnum
getBackHtml bool
showSubject bool
getNotify bool
cultureID string
maximumOpenTime int
minutesExpiration int

EncryptMessageArgs(string, Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string, int, int)

Constructor to send a crypted message

public EncryptMessageArgs(string endPointConfigurationName, Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID, int maximumOpenTime, int minutesExpiration)

Paramètres

endPointConfigurationName string

Name of the configuration in the app.config or web.config

serial Guid

The Serial number of the owner

user Guid

The API user

psw Guid

The API password

message string

The message in clear

subject string

The subject

email string

The destination email

phone string

The destination phone or SMS

password string

The password to protect the message

filesList List<FileArgs>

The memory files list args

sendMode SendMethodEnum

The mode of sending, onlyEmail, EmailWithSMSCode, etc..

getBackHtml bool

Need to get back the HTML, and send by yourself

showSubject bool

No more supported: has no effect

getNotify bool

Get notify event

cultureID string

Globalization of the received email

maximumOpenTime int

Maximum of open time value between 1 - 99

minutesExpiration int

Maximumof expiration minutes (14 days are the maximum)

EncryptMessageArgs(string, Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string, int, int, bool)

Constructor to send a crypted message

public EncryptMessageArgs(string endPointConfigurationName, Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID, int maximumOpenTime, int minutesExpiration, bool createMessageCopy)

Paramètres

endPointConfigurationName string

Name of the configuration in the app.config or web.config

serial Guid

The Serial number of the owner

user Guid

The API user

psw Guid

The API password

message string

The message in clear

subject string

The subject

email string

The destination email

phone string

The destination phone or SMS

password string

The password to protect the message

filesList List<FileArgs>

The memory files list args

sendMode SendMethodEnum

The mode of sending, onlyEmail, EmailWithSMSCode, etc..

getBackHtml bool

Need to get back the HTML, and send by yourself

showSubject bool

No more supported: has no effect

getNotify bool

Get notify event

cultureID string

Globalization of the received email

maximumOpenTime int

Maximum of open time value between 1 - 99

minutesExpiration int

Maximumof expiration minutes (14 days are the maximum)

createMessageCopy bool

No more supported

EncryptMessageArgs(Uri, Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string, int, int)

public EncryptMessageArgs(Uri endPointUri, Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID, int maximumOpenTime, int minutesExpiration)

Paramètres

endPointUri Uri
serial Guid
user Guid
psw Guid
message string
subject string
email string
phone string
password string
filesList List<FileArgs>
sendMode SendMethodEnum
getBackHtml bool
showSubject bool
getNotify bool
cultureID string
maximumOpenTime int
minutesExpiration int

EncryptMessageArgs(Uri, Guid, Guid, Guid, string, string, string, string, string, List<FileArgs>, SendMethodEnum, bool, bool, bool, string, int, int, bool)

Constructor to send a crypted message

public EncryptMessageArgs(Uri endPointUri, Guid serial, Guid user, Guid psw, string message, string subject, string email, string phone, string password, List<FileArgs> filesList, SendMethodEnum sendMode, bool getBackHtml, bool showSubject, bool getNotify, string cultureID, int maximumOpenTime, int minutesExpiration, bool createMessageCopy)

Paramètres

endPointUri Uri

Speficy the uri of the web services

serial Guid

The Serial number of the owner

user Guid

The API user

psw Guid

The API password

message string

The message in clear

subject string

The subject

email string

The destination email

phone string

The destination phone or SMS

password string

The password to protect the message

filesList List<FileArgs>

The memory files list args

sendMode SendMethodEnum

The mode of sending, onlyEmail, EmailWithSMSCode, etc..

getBackHtml bool

Need to get back the HTML, and send by yourself

showSubject bool

No more supported: has no effect

getNotify bool

Get notify event

cultureID string

Globalization of the received email

maximumOpenTime int

Maximum of open time value between 1 - 99

minutesExpiration int

Maximumof expiration minutes (14 days are the maximum)

createMessageCopy bool

No more supported

Properties

ApiPassword

Represent the password use for the API

public Guid ApiPassword { get; set; }

Valeur de la propriété

Guid

ApiUser

Represent the API user associated with the owner of the message. Only one API user are authorised by the Server

public Guid ApiUser { get; set; }

Valeur de la propriété

Guid

ClearTextNotification

Specify if the notification must be crypted or if it's send in clear mode.

public bool ClearTextNotification { get; set; }

Valeur de la propriété

bool

CreateMessageCopy

This is no more supported

[Obsolete]
public bool CreateMessageCopy { get; set; }

Valeur de la propriété

bool

CultureID

Specify the culture of the message received by the recipient. Actually we support fr-CA and en-CA

public string CultureID { get; set; }

Valeur de la propriété

string

Email

Represent the email destination

public string Email { get; set; }

Valeur de la propriété

string

EndPointConfigurationName

Specify the name of the EndPoint (web.config, or app.config)

public string EndPointConfigurationName { get; set; }

Valeur de la propriété

string

EndPointUri

Specify the endpoint of the Secure Exchanges ASMX

public Uri EndPointUri { get; set; }

Valeur de la propriété

Uri

FilesList

represent the list of FilesArgs (memory files) that need to be added in the message

public List<FileArgs> FilesList { get; set; }

Valeur de la propriété

List<FileArgs>

FilesPath

Specify the files path to be uploaded with the message

public List<string> FilesPath { get; set; }

Valeur de la propriété

List<string>

GetBackHtml

Specify if you need to getBack the HTML of the message. If yes, it's your responsability to send the email. If set to No SEMS (Secure Exchanges Mail System) will send the message

public bool GetBackHtml { get; set; }

Valeur de la propriété

bool

GetNotify

Specify if a notification need to be fired when the message is open

public bool GetNotify { get; set; }

Valeur de la propriété

bool

MailID

Specify the reference of the mail, will be associated with the FileHelper and upload events

public Guid MailID { get; set; }

Valeur de la propriété

Guid

MaximumOpenTime

Specify the maximum open time. Actually between 1 and 99

public int MaximumOpenTime { get; set; }

Valeur de la propriété

int

Message

Represent the message in clear text that need to be crypted

public string Message { get; set; }

Valeur de la propriété

string

MinutesExpiration

Specify the maximum Expiration Time. By default it's 14 days. By default the maximum it's 14 days. Need a business packages to unlock more.

public int MinutesExpiration { get; set; }

Valeur de la propriété

int

Name

Specify the name of the "message" or the "owner" of the mailbox

public string Name { get; set; }

Valeur de la propriété

string

Password

Represent the password need to be use to secure the message. Password must be in clear text

public string Password { get; set; }

Valeur de la propriété

string

Phone

Represent the phone of the destination or use to send SMS

public string Phone { get; set; }

Valeur de la propriété

string

SendMode

Represent the SendMode

public SendMethodEnum SendMode { get; set; }

Valeur de la propriété

SendMethodEnum

Serial

Represent the serial number of the message owneer

public Guid Serial { get; set; }

Valeur de la propriété

Guid

ShowSubject

No more supported: this option has no effect. The constructors still accept it for compatibility.

[Obsolete("No more supported: this option has no effect")]
public bool ShowSubject { get; set; }

Valeur de la propriété

bool

Subject

Represent the subject of the message

public string Subject { get; set; }

Valeur de la propriété

string