Click or drag to resize

MemoryStreamImageProxyComputeStreamHash(Stream) Method

Computes the hash of the content of the given stream. The stream must be seekable, since it is positioned to the beginning before calculating the hash. Afterwards, the stream position is undefined.

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string ComputeStreamHash(
	Stream stream
)

Parameters

stream  Stream
The stream to compute the hash for.

Return Value

String
String with the MD5 hash of the stream.
See Also