Class EncryptMessageArgs
- Namespace
- SecureExchangesSDK.Models.Args
- Assembly
- SecureExchangesSDK.NetCore.dll
Use to Encrypt a message
[Serializable]
public class EncryptMessageArgs : IFiles, ILocalFile, IAuthenticatedEndpoint, IAuthenticationNeeded, IEndPointConfiguration, IEndPointName, IUriBindingConfiguration
- Inheritance
-
EncryptMessageArgs
- Implements
- Inherited Members
- 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)
Parameters
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)
Parameters
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)
Parameters
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)
Parameters
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)
Parameters
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)
Parameters
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; }
Property Value
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; }
Property Value
ClearTextNotification
Specify if the notification must be crypted or if it's send in clear mode.
public bool ClearTextNotification { get; set; }
Property Value
CreateMessageCopy
This is no more supported
[Obsolete]
public bool CreateMessageCopy { get; set; }
Property Value
CultureID
Specify the culture of the message received by the recipient. Actually we support fr-CA and en-CA
public string CultureID { get; set; }
Property Value
Represent the email destination
public string Email { get; set; }
Property Value
EndPointConfigurationName
Specify the name of the EndPoint (web.config, or app.config)
public string EndPointConfigurationName { get; set; }
Property Value
EndPointUri
Specify the endpoint of the Secure Exchanges ASMX
public Uri EndPointUri { get; set; }
Property Value
FilesList
represent the list of FilesArgs (memory files) that need to be added in the message
public List<FileArgs> FilesList { get; set; }
Property Value
FilesPath
Specify the files path to be uploaded with the message
public List<string> FilesPath { get; set; }
Property Value
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; }
Property Value
GetNotify
Specify if a notification need to be fired when the message is open
public bool GetNotify { get; set; }
Property Value
MailID
Specify the reference of the mail, will be associated with the FileHelper and upload events
public Guid MailID { get; set; }
Property Value
MaximumOpenTime
Specify the maximum open time. Actually between 1 and 99
public int MaximumOpenTime { get; set; }
Property Value
Message
Represent the message in clear text that need to be crypted
public string Message { get; set; }
Property Value
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; }
Property Value
Name
Specify the name of the "message" or the "owner" of the mailbox
public string Name { get; set; }
Property Value
Password
Represent the password need to be use to secure the message. Password must be in clear text
public string Password { get; set; }
Property Value
Phone
Represent the phone of the destination or use to send SMS
public string Phone { get; set; }
Property Value
SendMode
Represent the SendMode
public SendMethodEnum SendMode { get; set; }
Property Value
Serial
Represent the serial number of the message owneer
public Guid Serial { get; set; }
Property Value
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; }
Property Value
Subject
Represent the subject of the message
public string Subject { get; set; }