harishaidary submitted October 31 2016
This simple example code shows you how to use the REST API in order to download the original and signed documents, along with the evidence summary.
Rate this Code Share

Comments

Reply to: Retrieve Documents (REST API)

0 votes
Hi After adding your code I am getting "The underlying connection was closed: An unexpected error occurred on a send." exception. Please suggest.

Reply to: Retrieve Documents (REST API)

0 votes
Hi tejas, The reason yielding this error varies. One of the possibility could be the TLS version, could you try adding these two lines at the beginning of the downloading function: System.Net.ServicePointManager.SecurityProtocol = (SecurityProtocolType)768 | (SecurityProtocolType)3072; Also, could you provide with your .NET version and a more detailed error trace of your exception? Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off