System.IO.Compression.ZipArchiveFile.ReadAllText C# (CSharp) Method

ReadAllText() public method

Read all the text from the archiveFile represented by the ZipArchiveFile and return it as a string.
public ReadAllText ( ) : string
return string
        public string ReadAllText()
        {
            TextReader reader = OpenText();
            string ret = reader.ReadToEnd();
            reader.Close();
            return ret;
        }