public File LockFileByMasterId(long fileMasterId, bool locked) { object[] results = this.Invoke("LockFileByMasterId", new object[] { fileMasterId, locked}); return ((File)(results[0])); }