You can get the icon using Icon.ExtractAssociatedIcon
foreach (var process in Process.GetProcesses())
{
var icon = Icon.ExtractAssociatedIcon(process.MainModule.FileName);
}
See: Get File Icon used by Shell for more information about icons.