Click or drag to resize

MemoryStreamImageProxyComputeStreamHash(Byte) 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(
	byte[] buffer
)

Parameters

buffer  Byte
The byte buffer to compute the hash for.

Return Value

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