Programming with the LEADTOOLS SharePoint Client
The LEADTOOLS SharePoint Client class library provides developers with the tools to access a Microsoft Sharepoint Server. Use the tools to set up credentials and proxy servers. Download and upload files or streams synchronously or asynchronously. The Leadtools.SharePointClient namespace contains four classes:
- Leadtools.SharePoint.Client.SharePointClient - The SharePointClient class contains methods, properties and events to access a Microsoft Sharepoint Server. Downloading can be performed by calling the DownloadFile , DownloadFileAsync, GetDownloadStream or GetDownloadStreamAsync methods. Similarly, uploading can be performed by calling the UploadFile , UploadFileAsync , UploadStream , or UploadStreamAsync methods. The Credentials , OverwriteExistingFiles , and Proxy properties make it possible to set up credentials and proxies for the SharePointClient object. The DownloadCompleted and UploadCompleted events are used with asynchronous operations.
- SharePointClientDownloadCompletedEventArgs - When a download operation finishes, the SharePointClient.DownloadCompleted event will receive a SharePointClientDownloadCompletedEventArgs object with information about the download.
- SharePointClientDownloadData - Although you do not create an instance of the SharePointClientDownloadData class directly, you can use the Stream property to get access to the stream containing the downloaded item data (buffer).
- SharePointClientUploadCompletedEventArgs - When an upload operation finishes, the SharePointClient.UploadCompleted event receives a SharePointClientUploadCompletedEventArgs object with information about the upload.