[]
Reads the stream to the end and returns the content as a string.
public static string ReadToEnd(this Stream stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream to read. |
| Type | Description |
|---|---|
| string | A string containing the contents of the stream. |