diff --git a/Crypto Notepad/External Libraries/OSVersionInfoClass.cs b/Crypto Notepad/External Libraries/OSVersionInfoClass.cs index 6b05c6c..e63b66a 100644 --- a/Crypto Notepad/External Libraries/OSVersionInfoClass.cs +++ b/Crypto Notepad/External Libraries/OSVersionInfoClass.cs @@ -410,29 +410,6 @@ public struct _PROCESSOR_INFO_UNION #endregion PINVOKE - #region SERVICE PACK - /// - /// Gets the service pack information of the operating system running on this computer. - /// - static public string ServicePack - { - get - { - string servicePack = String.Empty; - OSVERSIONINFOEX osVersionInfo = new OSVERSIONINFOEX(); - - osVersionInfo.dwOSVersionInfoSize = Marshal.SizeOf(typeof(OSVERSIONINFOEX)); - - if (GetVersionEx(ref osVersionInfo)) - { - servicePack = osVersionInfo.szCSDVersion; - } - - return servicePack; - } - } - #endregion SERVICE PACK - #region VERSION #region BUILD /// diff --git a/Crypto Notepad/Forms/AboutFrom.cs b/Crypto Notepad/Forms/AboutFrom.cs index 42e78a7..e68e169 100644 --- a/Crypto Notepad/Forms/AboutFrom.cs +++ b/Crypto Notepad/Forms/AboutFrom.cs @@ -22,7 +22,7 @@ private void GetDebugInfo() Version vrs = new Version(Application.ProductVersion); StringBuilder sb = new StringBuilder(string.Empty); sb.AppendLine("App version = " + vrs); - sb.AppendLine(string.Format("OS name = {0}", OSVersionInfo.Name + " " + OSVersionInfo.ServicePack)); + sb.AppendLine(string.Format("OS name = {0}", OSVersionInfo.Name)); sb.AppendLine(string.Format("OS version = {0}", OSVersionInfo.VersionString)); sb.AppendLine(".Net Framework = " + Methods.GetDotNetVersion()); Clipboard.SetText(sb.ToString());