Example #1
0
 public string UploadImage(string userName, string password, string appOrDocRelativePath, byte[] imageBytes, bool createThumbnail, bool overwriteIfExists)
 {
     using (SecureData sd = new SecureData(false, Login(userName, password))) {
         return(sd.SaveImage(appOrDocRelativePath, imageBytes, createThumbnail, overwriteIfExists));
     }
 }