[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.HashCalculator.ComputeMD5

ComputeMD5 Method

ComputeMD5(Stream)

Computes the MD5 hash for the specified binary stream.

Declaration
public static byte[] ComputeMD5(Stream stream)
Parameters
Type Name Description
Stream stream

The binary stream.

Returns
Type Description
byte[]

The computed MD5 hash.

ComputeMD5(byte[])

Computes the MD5 hash for the specified binary stream.

Declaration
public static byte[] ComputeMD5(byte[] stream)
Parameters
Type Name Description
byte[] stream

The binary stream as a byte array.

Returns
Type Description
byte[]

The computed MD5 hash.