NuGet.StreamExtensions.ReadToEnd C# (CSharp) Méthode

ReadToEnd() public static méthode

public static ReadToEnd ( this stream ) : string
stream this
Résultat string
        public static string ReadToEnd(this Stream stream)
        {
            using (var streamReader = new StreamReader(stream))
            {
                return streamReader.ReadToEnd();
            }
        }