Click or drag to resize
HashSha256 Method (Stream)
Calculates the SHA-256 hash value for the specified input stream.

Namespace: Network.Sim.Miscellaneous
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string Sha256(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream to calculate the SHA-256 hash value for.

Return Value

Type: String
A SHA-256 hash value.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the stream parameter is null.
See Also