IdenticonResultFromValue Method

Creates an IdenticonResult instance with a hash of the specified object.
public static IdenticonResult FromValue(
	Object value,
	int size,
	ExportImageFormat format = ExportImageFormat.Png,
	string hashAlgorithmName = "SHA1"
)

Parameters

valueSystemObject
The string representation of this object will be hashed and used as base for this icon. Null values are supported and handled as empty strings.
sizeSystemInt32
The size of the icon in pixels.
formatJdenticonExportImageFormat (Optional)
The format of the generated icon.
hashAlgorithmNameSystemString (Optional)
The name of the hash algorithm to use for hashing.

Return Value

IdenticonResult

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionsize was less than 1.

See Also

Reference