Format:
Recent snippets matching tags of PictureUpload
namespace SharePointUpload { class Program { static void Main(string[] args) { ServicePointManager.ServerCertificateValidationCallback = new System.Net.Security.RemoteCertificateValidationCallback((a, b, c, d) => { return true; }); WEB_REFERENCE_NAME.Imaging img = new WEB_REFERENCE_NAME.Imaging(); img.UseDefaultCredentials = true; img.Url = "SHAREPOINT_SITE/_vti_bin/imaging.asmx"; try { foreach (string filename in Directory.GetFiles("LOCAL_FOLDER")) { img.Upload("PICTURE_LIBRARY_NAME", "PICTURE_FOLDER_IF_ANY", File.ReadAllBytes(filename), Path.GetFileName(filename), true);
155 Views
no comments
namespace SharePointUpload { class Program { static void Main(string[] args) { ServicePointManager.ServerCertificateValidationCallback = new System.Net.Security.RemoteCertificateValidationCallback((a, b, c, d) => { return true; }); WEB_REFERENCE_NAME.Imaging img = new WEB_REFERENCE_NAME.Imaging(); img.UseDefaultCredentials = true; img.Url = "SHAREPOINT_SITE/_vti_bin/imaging.asmx"; //img.up try { //var x = img.GetListItems("Implementation Team Photos", "");
104 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
