You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -332,14 +344,15 @@ public void DeletePackage(String packageId)
332
344
}
333
345
334
346
/// <summary>
335
-
/// Deletes a temporary package, which is a package that has not yet been finalized.
347
+
/// (Deprecated) Deletes a temporary package, which is a package that has not yet been finalized.
336
348
/// </summary>
337
349
/// <param name="packageId"> The unique package id of the package to be deleted.</param>
338
350
/// <exception cref="APINotInitializedException">Thrown when the API has not been initialized.</exception>
339
351
/// <exception cref="InvalidCredentialsException">Thrown when the API credentials are incorrect.</exception>
340
352
/// <exception cref="ServerUnavailableException">Thrown when the API failed to connect to the server.</exception>
341
353
/// <exception cref="InvalidPackageException">Thrown when a non-existent or invalid package ID is used.</exception>
342
354
/// <exception cref="ActionFailedException">Will be thrown if the server returns an error message</exception>
355
+
[Obsolete("This version of DeleteTempPackage is deprecated. Instead please use DeletePackage.")]
343
356
publicvoidDeleteTempPackage(StringpackageId)
344
357
{
345
358
EnforceInitialized();
@@ -713,7 +726,6 @@ public String FinalizePackage(String packageId, String keycode)
713
726
/// <returns>
714
727
/// A link to access the package. This link can be sent to the recipients.
715
728
/// </returns>
716
-
[Obsolete("This version of FinalizePackage is deprecated. Instead please use FinalizePackage which supports both allowReplyAll and notifyRecipients features.")]
@@ -1598,6 +1610,15 @@ public void SetOutlookVersion(String version)
1598
1610
{
1599
1611
this.connection.OutlookVersion=version;
1600
1612
}
1613
+
1614
+
/// <summary>
1615
+
/// This method is intended for use by the SendSafely Outlook Plugin. Sets the name of the client application that is making the API request.
1616
+
/// </summary>
1617
+
/// <param name="requestAPI">Name of client application making the API request.</param>
1618
+
publicvoidsetRequestAPI(StringrequestAPI)
1619
+
{
1620
+
this.connection.RequestAPI=requestAPI;
1621
+
}
1601
1622
1602
1623
/// <summary>
1603
1624
/// This method is intended for use by the SendSafely Outlook Plugin. Starts the registration process. If a valid email is provided, a validation code will be sent to the SendSafely servers.
/// Thrown when two factor authentication is required. The exception contains a ValidationToken parameter that must be used when validating the 2FA Code.
9
-
/// </summary>
10
-
[Serializable]
11
-
publicclassTwoFactorAuthException:BaseException
1
+
usingSystem;
2
+
usingSystem.Collections.Generic;
3
+
usingSystem.Text;
4
+
5
+
namespaceSendSafely.Exceptions
6
+
{
7
+
/// <summary>
8
+
/// Thrown when two factor authentication is required. The exception contains a ValidationToken parameter that must be used when validating the 2FA Code.
0 commit comments