Skip to content

Commit ed50418

Browse files
author
Raileen Del Rosario
committed
adding codeDepot markers
1 parent 49c1949 commit ed50418

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

launcher-csharp/Notary/Examples/SendWithThirdPartyNotary.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,20 @@ public static class SendWithThirdPartyNotary
1515
{
1616
public static string SendWithNotary(string signerEmail, string signerName, string accessToken, string basePath, string accountId, string envStatus)
1717
{
18+
//ds-snippet-start:Notary4Step2
1819
EnvelopeDefinition env = MakeEnvelope(signerEmail, signerName, envStatus);
1920
var docuSignClient = new DocuSignClient(basePath);
2021
docuSignClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + accessToken);
22+
//ds-snippet-end:Notary4Step2
2123

24+
//ds-snippet-start:Notary4Step4
2225
var envelopesApi = new EnvelopesApi(docuSignClient);
2326
EnvelopeSummary results = envelopesApi.CreateEnvelope(accountId, env);
2427
return results.EnvelopeId;
28+
//ds-snippet-end:Notary4Step4
2529
}
2630

31+
//ds-snippet-start:Notary4Step3
2732
private static EnvelopeDefinition MakeEnvelope(string signerEmail, string signerName, string envStatus)
2833
{
2934
var env = new EnvelopeDefinition
@@ -191,5 +196,6 @@ private static List<NotaryRecipient> GetNotaryRecipients()
191196

192197
return notaryRecipient;
193198
}
199+
//ds-snippet-end:Notary4Step3
194200
}
195201
}

0 commit comments

Comments
 (0)