Identicon Constructor

Creates an Identicon instance with the specified hash.
public Identicon(
	byte[] hash,
	int size
)
View source
Namespace
Jdenticon
Assembly
Jdenticon.dll

Parameters

hashSystemByte
The hash that will be used as base for this icon. The hash must contain at least 6 bytes.
sizeSystemInt32
The size of the icon in pixels (the icon is quadratic).

Exceptions

ExceptionCondition
ArgumentExceptionhash does not contain 6 bytes.
ArgumentNullExceptionhash is null.
ArgumentOutOfRangeExceptionsize is less than 1 pixel.

See Also

Reference