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
serialGuiduserGuidpswGuidmessagestringsubjectstringemailstringphonestringpasswordstringfilesListList<FileArgs>sendModeSendMethodEnumgetBackHtmlboolshowSubjectboolgetNotifyboolcultureIDstring
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
serialGuiduserGuidpswGuidmessagestringsubjectstringemailstringphonestringpasswordstringfilesListList<FileArgs>sendModeSendMethodEnumgetBackHtmlboolshowSubjectboolgetNotifyboolcultureIDstringmaximumOpenTimeintminutesExpirationint
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
endPointConfigurationNamestringName of the configuration in the app.config or web.config
serialGuidThe Serial number of the owner
userGuidThe API user
pswGuidThe API password
messagestringThe message in clear
subjectstringThe subject
emailstringThe destination email
phonestringThe destination phone or SMS
passwordstringThe password to protect the message
filesListList<FileArgs>The memory files list args
sendModeSendMethodEnumThe mode of sending, onlyEmail, EmailWithSMSCode, etc..
getBackHtmlboolNeed to get back the HTML, and send by yourself
showSubjectboolNo more supported: has no effect
getNotifyboolGet notify event
cultureIDstringGlobalization of the received email
maximumOpenTimeintMaximum of open time value between 1 - 99
minutesExpirationintMaximumof 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
endPointConfigurationNamestringName of the configuration in the app.config or web.config
serialGuidThe Serial number of the owner
userGuidThe API user
pswGuidThe API password
messagestringThe message in clear
subjectstringThe subject
emailstringThe destination email
phonestringThe destination phone or SMS
passwordstringThe password to protect the message
filesListList<FileArgs>The memory files list args
sendModeSendMethodEnumThe mode of sending, onlyEmail, EmailWithSMSCode, etc..
getBackHtmlboolNeed to get back the HTML, and send by yourself
showSubjectboolNo more supported: has no effect
getNotifyboolGet notify event
cultureIDstringGlobalization of the received email
maximumOpenTimeintMaximum of open time value between 1 - 99
minutesExpirationintMaximumof expiration minutes (14 days are the maximum)
createMessageCopyboolNo 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
endPointUriUriserialGuiduserGuidpswGuidmessagestringsubjectstringemailstringphonestringpasswordstringfilesListList<FileArgs>sendModeSendMethodEnumgetBackHtmlboolshowSubjectboolgetNotifyboolcultureIDstringmaximumOpenTimeintminutesExpirationint
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
endPointUriUriSpeficy the uri of the web services
serialGuidThe Serial number of the owner
userGuidThe API user
pswGuidThe API password
messagestringThe message in clear
subjectstringThe subject
emailstringThe destination email
phonestringThe destination phone or SMS
passwordstringThe password to protect the message
filesListList<FileArgs>The memory files list args
sendModeSendMethodEnumThe mode of sending, onlyEmail, EmailWithSMSCode, etc..
getBackHtmlboolNeed to get back the HTML, and send by yourself
showSubjectboolNo more supported: has no effect
getNotifyboolGet notify event
cultureIDstringGlobalization of the received email
maximumOpenTimeintMaximum of open time value between 1 - 99
minutesExpirationintMaximumof expiration minutes (14 days are the maximum)
createMessageCopyboolNo more supported
Properties
ApiPassword
Represent the password use for the API
public Guid ApiPassword { get; set; }
Valeur de la propriété
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é
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é
CreateMessageCopy
This is no more supported
[Obsolete]
public bool CreateMessageCopy { get; set; }
Valeur de la propriété
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é
Represent the email destination
public string Email { get; set; }
Valeur de la propriété
EndPointConfigurationName
Specify the name of the EndPoint (web.config, or app.config)
public string EndPointConfigurationName { get; set; }
Valeur de la propriété
EndPointUri
Specify the endpoint of the Secure Exchanges ASMX
public Uri EndPointUri { get; set; }
Valeur de la propriété
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é
FilesPath
Specify the files path to be uploaded with the message
public List<string> FilesPath { get; set; }
Valeur de la propriété
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é
GetNotify
Specify if a notification need to be fired when the message is open
public bool GetNotify { get; set; }
Valeur de la propriété
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é
MaximumOpenTime
Specify the maximum open time. Actually between 1 and 99
public int MaximumOpenTime { get; set; }
Valeur de la propriété
Message
Represent the message in clear text that need to be crypted
public string Message { get; set; }
Valeur de la propriété
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é
Name
Specify the name of the "message" or the "owner" of the mailbox
public string Name { get; set; }
Valeur de la propriété
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é
Phone
Represent the phone of the destination or use to send SMS
public string Phone { get; set; }
Valeur de la propriété
SendMode
Represent the SendMode
public SendMethodEnum SendMode { get; set; }
Valeur de la propriété
Serial
Represent the serial number of the message owneer
public Guid Serial { get; set; }
Valeur de la propriété
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é
Subject
Represent the subject of the message
public string Subject { get; set; }