None
NO
Extracting Icons From A Windows DLL Or EXE With C#
['Den Delimarsky']
Hi, I'm Den 👋 on Den Delimarsky
using System.Drawing ; using System.Runtime.InteropServices ; namespace IconExtractor { internal class Program { private const int RT_GROUP_ICON = 14 ; private const int RT_ICON = 3 ; [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] private static extern IntPtr LoadLibraryEx ( string lpFileName , IntPtr hFile , uint dwFlags ); [DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] private static extern bool FreeLibrary ( IntPtr hModule ); [DllImport("kernel32", CharSet = CharSet.Unicode)] private static extern IntPtr FindResource ( IntPtr hModule , IntPtr lpName , IntPtr lpType ); [DllImport("kernel32.dll", SetLastError = true)] private static extern IntPtr LoadResource ( IntPtr hModule , IntPtr hResInfo ); [DllImport("kernel32.dll", SetLastError…