// returns a FileList object containing the files in OneDrive // that have not yet been added to the current file registry public async Task <FileList> GetFilesToRegister() { if (RegistryAddress != null) { // get list of files in Drive folder FileList list = await MyDriveManager.GetFileList(RegistryAddress); // filter list down to only unregistered files return(await MyEthManager.OnlyUnregistered(RegistryAddress, list)); } throw new Exception("No file registry chosen"); }