To use Jdenticon in a WPF application, start by installing the Jdenticon.Wpf NuGet package.
PM> Install-Package Jdenticon.Wpf
Now you can render icons by adding the IdenticonElement
control to your application.
<Window x:Class="SampleApp.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:jd="clr-namespace:Jdenticon.Wpf;assembly=Jdenticon.Wpf" Title="MainWindow" Height="250" Width="600"> <Window.Resources> <Style TargetType="{x:Type jd:IdenticonElement}"> <Setter Property="Width" Value="100" /> <Setter Property="Height" Value="100" /> <Setter Property="Margin" Value="10" /> </Style> </Window.Resources> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <jd:IdenticonElement Value="icon1" /> <jd:IdenticonElement Value="icon2" /> <jd:IdenticonElement Value="icon3" /> <jd:IdenticonElement Value="icon4" /> </StackPanel> </Window>