diff --git a/EonaCat_WindowsKeyViewer.sln b/EonaCat_WindowsKeyViewer.sln
new file mode 100644
index 0000000..8c34f9b
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.22823.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EonaCat WindowsKeyViewer", "EonaCat WindowsKeyViewer\EonaCat WindowsKeyViewer.csproj", "{A16B09A1-F27B-490A-9C90-A2587D625D9D}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {A16B09A1-F27B-490A-9C90-A2587D625D9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A16B09A1-F27B-490A-9C90-A2587D625D9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A16B09A1-F27B-490A-9C90-A2587D625D9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A16B09A1-F27B-490A-9C90-A2587D625D9D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/EonaCat_WindowsKeyViewer/App.config b/EonaCat_WindowsKeyViewer/App.config
new file mode 100644
index 0000000..88fa402
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EonaCat_WindowsKeyViewer/App.xaml b/EonaCat_WindowsKeyViewer/App.xaml
new file mode 100644
index 0000000..1192ff0
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/EonaCat_WindowsKeyViewer/App.xaml.cs b/EonaCat_WindowsKeyViewer/App.xaml.cs
new file mode 100644
index 0000000..7da2b31
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace EonaCat_WindowsKeyViewer
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj b/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj
new file mode 100644
index 0000000..c563af4
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj
@@ -0,0 +1,118 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {A16B09A1-F27B-490A-9C90-A2587D625D9D}
+ WinExe
+ Properties
+ EonaCat_WindowsKeyViewer
+ EonaCat WindowsKeyViewer
+ v4.5.2
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ icon.ico
+
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj.DotSettings b/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj.DotSettings
new file mode 100644
index 0000000..73e9656
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer.csproj.DotSettings
@@ -0,0 +1,2 @@
+
+ CSharp60
\ No newline at end of file
diff --git a/EonaCat_WindowsKeyViewer/MainWindow.xaml b/EonaCat_WindowsKeyViewer/MainWindow.xaml
new file mode 100644
index 0000000..ea8d86d
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/MainWindow.xaml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/EonaCat_WindowsKeyViewer/MainWindow.xaml.cs b/EonaCat_WindowsKeyViewer/MainWindow.xaml.cs
new file mode 100644
index 0000000..44ab665
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/MainWindow.xaml.cs
@@ -0,0 +1,74 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using Microsoft.Win32;
+using EonaCat_WindowsKeyViewer.Models;
+using EonaCat_WindowsKeyViewer.Models.Objects;
+
+namespace EonaCat_WindowsKeyViewer
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ private readonly WindowsModel _windowsModel = new WindowsModel();
+
+ public MainWindow()
+ {
+ InitializeComponent();
+
+ }
+
+ private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
+ {
+ _windowsModel.GetWindowsInformation();
+
+ if (_windowsModel.InformationRetrieved)
+ {
+ foreach (WindowsInformation windows in _windowsModel.WindowsList)
+ {
+ windowsNameLabel.Content = windows.Caption;
+ windowsCountryCodeLabel.Text = "Country: " + windows.CountryCode;
+ windowsVersionLabel.Text = "Version : " + windows.Version;
+ windowsCSDVersionLabel.Text = "CSD Version : " + windows.CSDVersion;
+ InstallationDateLabel.Text = "Installation date : " + windows.InstallDate;
+ windowsSerialNumberLabel.Text = "Serialnumber : " + windows.SerialNumber;
+ registeredOwnerLabel.Text = "Registered User : " + windows.RegisteredUser;
+ organisationLabel.Text = "Organization : " + windows.Organization;
+ windowsBuildNumberLabel.Text = "Build: " + windows.BuildNumber;
+ }
+ }
+ }
+
+ private void checkProductKeyButton_Click(object sender, RoutedEventArgs e)
+ {
+ var baseKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
+ var reg = baseKey.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion", false);
+
+ if (reg != null)
+ {
+ var digitalProductId = reg.GetValue("DigitalProductId") as byte[];
+ if (digitalProductId != null)
+ {
+ productKeyTextBox.Text = _windowsModel.DecodeProductKey(digitalProductId);
+ }
+ else
+ {
+ MessageBox.Show("Information could not be retrieved, are you running the EonaCat WindowsKeyViewer as an admin?");
+ }
+ }
+ }
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/Models/Objects/WindowsInformation.cs b/EonaCat_WindowsKeyViewer/Models/Objects/WindowsInformation.cs
new file mode 100644
index 0000000..1a96f2a
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Models/Objects/WindowsInformation.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace EonaCat_WindowsKeyViewer.Models.Objects
+{
+ internal class WindowsInformation
+ {
+ public string BuildNumber { get; set; } = "";
+
+ public string Caption { get; set; } = "";
+
+ public string CountryCode { get; set; } = "";
+
+ public string CSDVersion { get; set; } = "";
+
+ public string Description { get; set; } = "";
+
+ public string EncryptionLevel { get; set; } = "";
+
+ public string FreePhysicalMemory { get; set; } = "";
+
+ public string InstallDate { get; set; } = "";
+
+ public string LastBootUpTime { get; set; } = "";
+
+ public string NumberOfLicensedUsers { get; set; } = "";
+
+ public string Organization { get; set; } = "";
+
+ public string RegisteredUser { get; set; } = "";
+
+ public string SerialNumber { get; set; } = "";
+
+ public string ServicePackMajorVersion { get; set; } = "";
+
+ public string ServicePackMinorVersion { get; set; } = "";
+
+ public string TotalVirtualMemorySize { get; set; } = "";
+
+ public string TotalVisibleMemorySize { get; set; } = "";
+
+ public string Version { get; set; } = "";
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/Models/WindowsModel.cs b/EonaCat_WindowsKeyViewer/Models/WindowsModel.cs
new file mode 100644
index 0000000..d59089b
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Models/WindowsModel.cs
@@ -0,0 +1,185 @@
+using System;
+using System.Collections;
+using System.Globalization;
+using System.Management;
+using System.Windows;
+using EonaCat_WindowsKeyViewer.Models.Objects;
+
+namespace EonaCat_WindowsKeyViewer.Models
+{
+ public class WindowsModel
+ {
+ private ArrayList _windowsCollection = new ArrayList();
+
+ internal string DecodeProductKey(byte[] digitalProductId)
+ {
+ int num;
+ char[] characterArray = new char[]
+ {
+ 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'M', 'P', 'Q', 'R', 'T', 'V', 'W', 'X',
+ 'Y', '2', '3', '4', '6', '7', '8', '9'
+ };
+
+ char[] characterArray2 = new char[0x1d];
+ ArrayList list = new ArrayList();
+
+ for (num = 52; num <= 67; num++)
+ {
+ list.Add(digitalProductId[num]);
+ }
+
+ for (num = 0x1c; num >= 0; num--)
+ {
+ if (((num + 1) % 6) == 0)
+ {
+ characterArray2[num] = '-';
+ }
+ else
+ {
+ int index = 0;
+
+ for (var i = 14; i >= 0; i--)
+ {
+ int num4 = (index << 8) | ((byte)list[i]);
+ list[i] = (byte)(num4 / 24);
+ index = num4 % 24;
+ characterArray2[num] = characterArray[index];
+ }
+ }
+ }
+ return new string(characterArray2);
+ }
+
+ public ArrayList WindowsList { get; set; } = new ArrayList();
+
+ public bool InformationRetrieved { get; private set; }
+
+ public void GetWindowsInformation()
+ {
+ WindowsList.Clear();
+
+ InformationRetrieved = false;
+
+ try
+ {
+ ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem");
+
+ var windows = new WindowsInformation();
+
+ foreach (var managementBaseObject in searcher.Get())
+ {
+ var managementObject = (ManagementObject) managementBaseObject;
+ windows.Caption = managementObject["Caption"].ToString();
+ windows.CountryCode = managementObject["CountryCode"].ToString();
+ windows.BuildNumber = managementObject["BuildNumber"].ToString();
+
+ try
+ {
+ windows.CSDVersion = managementObject["CSDVersion"].ToString();
+ }
+ catch (NullReferenceException)
+ {
+ windows.CSDVersion = "Unknown, or no service pack installed";
+ }
+
+ windows.Description = managementObject["Description"].ToString();
+ windows.RegisteredUser = managementObject["RegisteredUser"].ToString();
+ windows.InstallDate = managementObject["InstallDate"].ToString();
+
+ DateTime time = ToDateTime(windows.InstallDate);
+ windows.InstallDate = time.AddTicks(-TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now).Ticks).ToLocalTime().ToString(CultureInfo.InvariantCulture);
+
+ try
+ {
+ windows.Organization = managementObject["Organization"].ToString();
+ }
+ catch (NullReferenceException)
+ {
+ windows.Organization = "";
+ }
+
+ windows.SerialNumber = managementObject["SerialNumber"].ToString();
+ windows.Version = managementObject["Version"].ToString();
+ }
+
+ WindowsList.Add(windows);
+ InformationRetrieved = true;
+ }
+ catch (Exception exception)
+ {
+ MessageBox.Show(exception.ToString());
+ }
+ }
+
+ private static DateTime ToDateTime(string currentDate)
+ {
+ int year = DateTime.Now.Year;
+ int month = 1;
+ int day = 1;
+ int hour = 0;
+ int minute = 0;
+ int second = 0;
+ int millisecond = 0;
+ string result = string.Empty;
+
+ if ((string.Empty == currentDate) || (currentDate == null))
+ {
+ return DateTime.MinValue;
+ }
+
+ if (currentDate.Length != 0x19)
+ {
+ return DateTime.MinValue;
+ }
+ result = currentDate.Substring(0, 4);
+
+ if ("****" != result)
+ {
+ year = int.Parse(result);
+ }
+
+ result = currentDate.Substring(4, 2);
+
+ if ("**" != result)
+ {
+ month = int.Parse(result);
+ }
+
+ result = currentDate.Substring(6, 2);
+
+ if ("**" != result)
+ {
+ day = int.Parse(result);
+ }
+
+ result = currentDate.Substring(8, 2);
+
+ if ("**" != result)
+ {
+ hour = int.Parse(result);
+ }
+
+ result = currentDate.Substring(10, 2);
+
+ if ("**" != result)
+ {
+ minute = int.Parse(result);
+ }
+
+ result = currentDate.Substring(12, 2);
+
+ if ("**" != result)
+ {
+ second = int.Parse(result);
+ }
+
+ result = currentDate.Substring(15, 3);
+
+ if ("***" != result)
+ {
+ millisecond = int.Parse(result);
+ }
+ return new DateTime(year, month, day, hour, minute, second, millisecond);
+ }
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/Properties/AssemblyInfo.cs b/EonaCat_WindowsKeyViewer/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..ac06be2
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("EonaCat WindowsKeyViewer")]
+[assembly: AssemblyDescription("EonaCat WindowsKeyViewer")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("EonaCat")]
+[assembly: AssemblyProduct("EonaCat WindowsKeyViewer")]
+[assembly: AssemblyCopyright("Copyright © EonaCat 2015")]
+[assembly: AssemblyTrademark("EonaCat WindowsKeyViewer")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/EonaCat_WindowsKeyViewer/Properties/Resources.Designer.cs b/EonaCat_WindowsKeyViewer/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..ea9a4a5
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace EonaCat_WindowsKeyViewer.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EonaCat_WindowsKeyViewer.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/Properties/Resources.resx b/EonaCat_WindowsKeyViewer/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/EonaCat_WindowsKeyViewer/Properties/Settings.Designer.cs b/EonaCat_WindowsKeyViewer/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..a96fac7
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace EonaCat_WindowsKeyViewer.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/EonaCat_WindowsKeyViewer/Properties/Settings.settings b/EonaCat_WindowsKeyViewer/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/EonaCat_WindowsKeyViewer/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EonaCat_WindowsKeyViewer/Resources/EonaCat_Logo_orange.png b/EonaCat_WindowsKeyViewer/Resources/EonaCat_Logo_orange.png
new file mode 100644
index 0000000..700c803
Binary files /dev/null and b/EonaCat_WindowsKeyViewer/Resources/EonaCat_Logo_orange.png differ
diff --git a/EonaCat_WindowsKeyViewer/icon.ico b/EonaCat_WindowsKeyViewer/icon.ico
new file mode 100644
index 0000000..c514f9e
Binary files /dev/null and b/EonaCat_WindowsKeyViewer/icon.ico differ