Click or drag to resize

Identicon Constructor

Creates an Identicon instance with the specified hash.

Namespace:  Jdenticon
Assembly:  Jdenticon.dll
Syntax
public Identicon(
	byte[] hash,
	int size
)

Parameters

hash
Type: SystemByte
The hash that will be used as base for this icon. The hash must contain at least 6 bytes.
size
Type: SystemInt32
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