Example #1
0
 /// <summary>
 /// Creates an <see cref="Identicon"/> instance with the specified hash.
 /// </summary>
 /// <param name="hash">The hash that will be used as base for this icon. The hash must contain at least 11 bytes.</param>
 public static Identicon FromHash(string hash)
 {
     return(new Identicon(HexString.ToArray(hash)));
 }
Example #2
0
 /// <summary>
 /// Gets a string representation of this <see cref="Identicon"/> .
 /// </summary>
 public override string ToString()
 {
     return("Identicon: " + HexString.ToString(hash));
 }