[DllImport("kernel32.dll", SetLastError=true)]
static extern bool SetConsoleIcon(IntPtr hIcon);
Declare Function SetConsoleIcon Lib "kernel32.dll" (ByVal hIcon As IntPtr) As Boolean
None.
Do you know one? Please contribute it!
http://support.microsoft.com/kb/124103 describes how to get handle of console window.
Please add some!
public static void SetConsoleIcon(Icon ico)
{
SetConsoleIcon(ico.Handle);
}