public int Upload(string path, int album_id) { try { return(SmugMugProxy.Upload(path, album_id, credentials.SessionID)); } catch (Exception ex) { throw new SmugMugException("Could not upload file", ex.InnerException); } }