AcManager.Tools.ContentInstallation.SharpCompressContentInstallator.ArchiveFileInfo.CopyTo C# (CSharp) Method

CopyTo() public method

public CopyTo ( string destination ) : System.Threading.Tasks.Task
destination string
return System.Threading.Tasks.Task
            public async Task CopyTo(string destination) {
                using (var fileStream = new FileStream(destination, FileMode.Create))
                using (var stream = _archiveEntry.OpenEntryStream()) {
                    await stream.CopyToAsync(fileStream);
                }
            }
        }
SharpCompressContentInstallator.ArchiveFileInfo