C#.NET Sample Code
The recommended way to interact with the ShareFile API from .NET code is via the ShareFile Client SDK.
Only use the code below if you are working on a legacy project running a .NET Framework version older than 4.5
The following Code Sample is provided for reference purposes only, and no representation is made as to its suitability, security or reliability for any purpose. However, you are free to adapt this code to use in your own projects. Please refer to the license attribution at the top of each file for more information.
This sample contains functions that illustrate the use of the basic supported HTTP verbs, to Create (POST), Read (GET), Update (PATCH), Delete (DELETE) ShareFile entities, as well as Upload and Download example functions. Each sample function is designed to be self contained, so you will find many areas for abstraction when you write your own code.