Exception | Condition |
---|---|
ArgumentException | value does not contain 6 bytes. |
The hash must contain at least 6 bytes.
If both identicon-hash and identicon-value is specified, identicon-hash has precedence.
In the following example identicon-hash is used to render an identicon for a user id.
@{ var userIdHash = new byte[] { 242, 94, 85, 42, 87, 222, 222, 190, 155, 231, 226, 21, 195, 40, 18, 137 }; } <img identicon-hash="userIdHash" width="100" height="100" /<