Click or drag to resize

IdenticonResultFromHash Method (Byte, Int32, ExportImageFormat)

Creates an IdenticonResult instance with the specified hash.

Namespace:  Jdenticon.AspNet.WebApi
Assembly:  Jdenticon.AspNet.WebApi.dll
Syntax
public static IdenticonResult FromHash(
	byte[] hash,
	int size,
	ExportImageFormat format = ExportImageFormat.Png
)

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.
format (Optional)
Type: JdenticonExportImageFormat
The format of the generated icon.

Return Value

Type: IdenticonResult
See Also