To get the default application icon from the executable, you can use this code
After you receive the icon, save it to a file and use this code to get it MD5. You actually do not need to save the file, just convert the icon to an array of bytes and use it to convert to an MD5 value.
source
share