By Wayne Brill
The topic “ How To Acquire Files” in the the Vault 2017 SDK has a section titled: “File Transfer - Doing it the Hard Way”. In that section there are a couple of links to C# and VB examples. The DownloadFile function in these examples will not work with Vault 2017 due to the change to the DownloadFilePart method. It has changed in 2017 and doesn't return a byte array anymore, but a stream instead.
Here is an update to the DownloadFile function that works with the 2017 API.