Microsoft.OfficeProPlus.InstallGenerator.Implementation.OfficeLocalInstallManager.GetOfficeInstallFileXml C# (CSharp) Method

GetOfficeInstallFileXml() public method

public GetOfficeInstallFileXml ( ) : Task
return Task
        public async Task<UpdateFiles> GetOfficeInstallFileXml()
        {
            var ppDownload = new ProPlusDownloader();
            var installFiles = await ppDownload.DownloadCabAsync();
            if (installFiles != null)
            {
                var installFile = installFiles.FirstOrDefault();
                if (installFile != null)
                {
                    return installFile;
                }
            }
            return null;
        }