Method CalculateStream
CalculateStream(Stream)
Creates the hash for a stream of data.
Declaration
public static RawHash CalculateStream(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream of data. |
Returns
| Type | Description |
|---|---|
| RawHash | Returns the hash of the stream. |
CalculateStream<T>(Stream)
Creates the hash for a stream of data.
Declaration
public static RawHash CalculateStream<T>(Stream stream) where T : HashAlgorithm
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream of data. |
Returns
| Type | Description |
|---|---|
| RawHash | Returns the hash of the stream. |
Type Parameters
| Name | Description |
|---|---|
| T | The hash algorithm type. |