commit 725521b8f8b908c47335507187ee7c4c6b871d89 Author: Hoeglinger Eugen Date: Fri Aug 26 09:50:43 2022 +0200 Initialize Funktion zum Erzeugen, Auslesen und Löschen eines Registry-Schlüssel und Registry-Wertes diff --git a/.vs/Registry.git/FileContentIndex/448d7976-bdf7-46da-b22a-8eb637e5b010.vsidx b/.vs/Registry.git/FileContentIndex/448d7976-bdf7-46da-b22a-8eb637e5b010.vsidx new file mode 100644 index 0000000..1f5d183 Binary files /dev/null and b/.vs/Registry.git/FileContentIndex/448d7976-bdf7-46da-b22a-8eb637e5b010.vsidx differ diff --git a/.vs/Registry.git/FileContentIndex/485b8118-713a-478f-bfd2-f6c42a7e0bf7.vsidx b/.vs/Registry.git/FileContentIndex/485b8118-713a-478f-bfd2-f6c42a7e0bf7.vsidx new file mode 100644 index 0000000..c90505a Binary files /dev/null and b/.vs/Registry.git/FileContentIndex/485b8118-713a-478f-bfd2-f6c42a7e0bf7.vsidx differ diff --git a/.vs/Registry.git/FileContentIndex/69f7e824-0754-43d6-a08f-89efa7e7f352.vsidx b/.vs/Registry.git/FileContentIndex/69f7e824-0754-43d6-a08f-89efa7e7f352.vsidx new file mode 100644 index 0000000..71f10a9 Binary files /dev/null and b/.vs/Registry.git/FileContentIndex/69f7e824-0754-43d6-a08f-89efa7e7f352.vsidx differ diff --git a/.vs/Registry.git/FileContentIndex/f3a4da77-99b8-419b-96d5-eb1e48e8bc1d.vsidx b/.vs/Registry.git/FileContentIndex/f3a4da77-99b8-419b-96d5-eb1e48e8bc1d.vsidx new file mode 100644 index 0000000..2e79b45 Binary files /dev/null and b/.vs/Registry.git/FileContentIndex/f3a4da77-99b8-419b-96d5-eb1e48e8bc1d.vsidx differ diff --git a/.vs/Registry.git/FileContentIndex/read.lock b/.vs/Registry.git/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/Registry.git/v17/.suo b/.vs/Registry.git/v17/.suo new file mode 100644 index 0000000..fd2f07b Binary files /dev/null and b/.vs/Registry.git/v17/.suo differ diff --git a/Registry.git.sln b/Registry.git.sln new file mode 100644 index 0000000..1217c0c --- /dev/null +++ b/Registry.git.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32819.101 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Registry", "Registry\Registry.csproj", "{00DED4A5-CF16-41C8-9C2E-0A7BB906D759}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Registry", "Test_Registry\Test_Registry.csproj", "{0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {00DED4A5-CF16-41C8-9C2E-0A7BB906D759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00DED4A5-CF16-41C8-9C2E-0A7BB906D759}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00DED4A5-CF16-41C8-9C2E-0A7BB906D759}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00DED4A5-CF16-41C8-9C2E-0A7BB906D759}.Release|Any CPU.Build.0 = Release|Any CPU + {0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {09819827-7A0C-4F5F-AD81-2E8B5E823A3A} + EndGlobalSection +EndGlobal diff --git a/Registry/Properties/AssemblyInfo.cs b/Registry/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..12b60ab --- /dev/null +++ b/Registry/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("Registry")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Registry")] +[assembly: AssemblyCopyright("Copyright © 2022 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("00ded4a5-cf16-41c8-9c2e-0a7bb906d759")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// indem Sie "*" wie unten gezeigt eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyFileVersion("1.0.0.0")] //Wenn auskommentiert, dann gleich wie AssemblyVersion! diff --git a/Registry/Registry.cs b/Registry/Registry.cs new file mode 100644 index 0000000..9a71955 --- /dev/null +++ b/Registry/Registry.cs @@ -0,0 +1,312 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Win32; + +namespace Eugen.ESystem +{ + /// + /// Description of Registry. + /// + public class Registry + { + #region Version und Copyright + // Version und Copyright + static string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + static string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + static string copyright = GenerateCopyright(); + + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + static string date = value.ToShortDateString(); + static string time = value.ToLongTimeString(); + + private static DateTime AssemblyDateTime() + { + var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; + var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision)); + //Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original) + return buildDateTime; + } + + private static string CurrentYear() + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + + private static string StartYear() + { + string startYear = ""; + if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) + { + startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); + while (startYear.StartsWith(" ")) + { + startYear = startYear.Remove(0, 1); + } + + if (startYear.Contains("-")) + { + startYear = startYear.Remove(startYear.IndexOf("-")); + } + else + { + startYear = startYear.Remove(startYear.IndexOf(" ")); + } + return startYear; + } + else + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + } + + private static string GenerateCopyright() + { + string startYear = StartYear(); + string currentYear = CurrentYear(); + + if (startYear == currentYear) + { + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + else + { + string temp = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + string start = temp.Remove(temp.IndexOf(startYear) - 1); + string end = (temp.Remove(0, temp.IndexOf(" by"))); + + return String.Concat(start, " ", startYear, "-", currentYear, end); + } + } + #endregion + + #region DLL-Info + /// + /// Contains the name of the dll file. + /// + public static string DllName { private set; get; } + + /// + /// Contains the version of the dll file. + /// + public static string DllVersion { private set; get; } + + /// + /// Contains the copyright notice. + /// + public static string Copyright { private set; get; } + + /// + /// Contains the name-, version- and copyright-information of the dll file. + /// + public static string[] DllInfo { private set; get; } + + private static void SetDllInfo() + { + //Name, Version und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = copyright; + + string[] dllInfo = new string[3]; + dllInfo[0] = dllName; + dllInfo[1] = dllVersion; + dllInfo[2] = copyright; + DllInfo = dllInfo; + } + + protected string ProgramName { private set; get; } + protected string ProgramVersion { private set; get; } + protected string ProgramCopyright { private set; get; } + #endregion + + public enum RegMainKey + { + ClassesRoot, + CurrentUser, + LocalMachine, + Users, + CurrentConfig + } + + static Registry() + { + SetDllInfo(); + } + + public Registry() + { + SetDllInfo(); + } + + // Create a Subkey + public RegMainKey MainKey { get; set; } + public string SubKey { get; set; } + public string Key { get; set; } + public string Value { get; set; } + public bool Error { get; set; } + + /// + /// Write Values to the Subkey + /// + public void WriteSubkey() + { + // Write Values to the Subkey + Microsoft.Win32.RegistryKey mKey = null; + switch (MainKey) + { + case RegMainKey.ClassesRoot: + mKey = Microsoft.Win32.Registry.ClassesRoot; + break; + case RegMainKey.CurrentUser: + mKey = Microsoft.Win32.Registry.CurrentUser; + break; + case RegMainKey.LocalMachine: + mKey = Microsoft.Win32.Registry.LocalMachine; + break; + case RegMainKey.Users: + mKey = Microsoft.Win32.Registry.Users; + break; + case RegMainKey.CurrentConfig: + mKey = Microsoft.Win32.Registry.CurrentConfig; + break; + default: + break; + } + + RegistryKey newKey = mKey.CreateSubKey(SubKey); + newKey.SetValue(Key, Value); + } + + /// + /// Read Values from the Subkey + /// + /// + /// Subkey does not exist exception + public string ReadSubkey() + { + // Read Values from the Subkey + Microsoft.Win32.RegistryKey mKey = null; + switch (MainKey) + { + case RegMainKey.ClassesRoot: + mKey = Microsoft.Win32.Registry.ClassesRoot; + break; + case RegMainKey.CurrentUser: + mKey = Microsoft.Win32.Registry.CurrentUser; + break; + case RegMainKey.LocalMachine: + mKey = Microsoft.Win32.Registry.LocalMachine; + break; + case RegMainKey.Users: + mKey = Microsoft.Win32.Registry.Users; + break; + case RegMainKey.CurrentConfig: + mKey = Microsoft.Win32.Registry.CurrentConfig; + break; + default: + break; + } + + if (SubKeyExist(SubKey)) + { + RegistryKey myKey = mKey.OpenSubKey(SubKey); + return (string)myKey.GetValue(Key); + } + else + { + throw new Exception("Subkey does not exist!"); + } + } + + /// + /// Delete the Subkey + /// + /// Subkey to be deleted + public void DeleteSubkey() + { + // Delete the Subkey + Microsoft.Win32.RegistryKey mKey = null; + switch (MainKey) + { + case RegMainKey.ClassesRoot: + mKey = Microsoft.Win32.Registry.ClassesRoot; + break; + case RegMainKey.CurrentUser: + mKey = Microsoft.Win32.Registry.CurrentUser; + break; + case RegMainKey.LocalMachine: + mKey = Microsoft.Win32.Registry.LocalMachine; + break; + case RegMainKey.Users: + mKey = Microsoft.Win32.Registry.Users; + break; + case RegMainKey.CurrentConfig: + mKey = Microsoft.Win32.Registry.CurrentConfig; + break; + default: + break; + } + + //string MyKey = SubKey.Remove(SubKey.LastIndexOf('\\')); + + if (SubKeyExist(SubKey)) + { + mKey.DeleteSubKeyTree(SubKey); + } + else + { + throw new Exception("Subkey does not exist!"); + } + } + + /// + /// Check if a Subkey exist + /// + /// Subkey to be queried + /// + public bool SubKeyExist(string Subkey) + { + // Check if a Subkey exist + Microsoft.Win32.RegistryKey mKey = null; + switch (MainKey) + { + case RegMainKey.ClassesRoot: + mKey = Microsoft.Win32.Registry.ClassesRoot; + break; + case RegMainKey.CurrentUser: + mKey = Microsoft.Win32.Registry.CurrentUser; + break; + case RegMainKey.LocalMachine: + mKey = Microsoft.Win32.Registry.LocalMachine; + break; + case RegMainKey.Users: + mKey = Microsoft.Win32.Registry.Users; + break; + case RegMainKey.CurrentConfig: + mKey = Microsoft.Win32.Registry.CurrentConfig; + break; + default: + break; + } + RegistryKey myKey = mKey.OpenSubKey(Subkey); + + if (myKey == null) + { + return false; + } + else + { + return true; + } + } + } +} diff --git a/Registry/Registry.csproj b/Registry/Registry.csproj new file mode 100644 index 0000000..e18086f --- /dev/null +++ b/Registry/Registry.csproj @@ -0,0 +1,48 @@ + + + + + Debug + AnyCPU + {00DED4A5-CF16-41C8-9C2E-0A7BB906D759} + Library + Properties + Eugen.ESystem + heregistry + v4.7.2 + 512 + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Registry/bin/Debug/heregistry.dll b/Registry/bin/Debug/heregistry.dll new file mode 100644 index 0000000..c620259 Binary files /dev/null and b/Registry/bin/Debug/heregistry.dll differ diff --git a/Registry/bin/Debug/heregistry.pdb b/Registry/bin/Debug/heregistry.pdb new file mode 100644 index 0000000..40d1847 Binary files /dev/null and b/Registry/bin/Debug/heregistry.pdb differ diff --git a/Registry/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/Registry/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..057ed7f --- /dev/null +++ b/Registry/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..930a281 Binary files /dev/null and b/Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Registry/obj/Debug/Registry.csproj.AssemblyReference.cache b/Registry/obj/Debug/Registry.csproj.AssemblyReference.cache new file mode 100644 index 0000000..ce6c4ca Binary files /dev/null and b/Registry/obj/Debug/Registry.csproj.AssemblyReference.cache differ diff --git a/Registry/obj/Debug/Registry.csproj.CoreCompileInputs.cache b/Registry/obj/Debug/Registry.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..2a71485 --- /dev/null +++ b/Registry/obj/Debug/Registry.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +4d662b80ebe897aba148c3b7c981fdfed556e2fc diff --git a/Registry/obj/Debug/Registry.csproj.FileListAbsolute.txt b/Registry/obj/Debug/Registry.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..e1687b1 --- /dev/null +++ b/Registry/obj/Debug/Registry.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\obj\Debug\Registry.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\obj\Debug\Registry.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\bin\Debug\heregistry.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\bin\Debug\heregistry.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\obj\Debug\heregistry.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Registry\obj\Debug\heregistry.pdb diff --git a/Registry/obj/Debug/_IsIncrementalBuild b/Registry/obj/Debug/_IsIncrementalBuild new file mode 100644 index 0000000..ff132f0 --- /dev/null +++ b/Registry/obj/Debug/_IsIncrementalBuild @@ -0,0 +1 @@ +obj\Debug\\_IsIncrementalBuild diff --git a/Registry/obj/Debug/heregistry.dll b/Registry/obj/Debug/heregistry.dll new file mode 100644 index 0000000..c620259 Binary files /dev/null and b/Registry/obj/Debug/heregistry.dll differ diff --git a/Registry/obj/Debug/heregistry.pdb b/Registry/obj/Debug/heregistry.pdb new file mode 100644 index 0000000..40d1847 Binary files /dev/null and b/Registry/obj/Debug/heregistry.pdb differ diff --git a/Test_Registry/App.config b/Test_Registry/App.config new file mode 100644 index 0000000..5ffd8f8 --- /dev/null +++ b/Test_Registry/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Test_Registry/Form1.Designer.cs b/Test_Registry/Form1.Designer.cs new file mode 100644 index 0000000..af586e5 --- /dev/null +++ b/Test_Registry/Form1.Designer.cs @@ -0,0 +1,131 @@ +namespace Test_Registry +{ + partial class Form1 + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Windows Form-Designer generierter Code + + /// + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// + private void InitializeComponent() + { + this.buttonShowInfo = new System.Windows.Forms.Button(); + this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox(); + this.labelProgramInfo = new System.Windows.Forms.Label(); + this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox(); + this.labelDLLInfo = new System.Windows.Forms.Label(); + this.labelResult = new System.Windows.Forms.Label(); + this.groupBoxProgramInfo.SuspendLayout(); + this.groupBoxDLLInfo.SuspendLayout(); + this.SuspendLayout(); + // + // buttonShowInfo + // + this.buttonShowInfo.Location = new System.Drawing.Point(12, 287); + this.buttonShowInfo.Name = "buttonShowInfo"; + this.buttonShowInfo.Size = new System.Drawing.Size(776, 23); + this.buttonShowInfo.TabIndex = 0; + this.buttonShowInfo.Text = "Start"; + this.buttonShowInfo.UseVisualStyleBackColor = true; + this.buttonShowInfo.Click += new System.EventHandler(this.buttonShowInfo_Click); + // + // groupBoxProgramInfo + // + this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo); + this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372); + this.groupBoxProgramInfo.Name = "groupBoxProgramInfo"; + this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxProgramInfo.TabIndex = 11; + this.groupBoxProgramInfo.TabStop = false; + this.groupBoxProgramInfo.Text = "Programm Information"; + // + // labelProgramInfo + // + this.labelProgramInfo.AutoSize = true; + this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelProgramInfo.Location = new System.Drawing.Point(7, 20); + this.labelProgramInfo.Name = "labelProgramInfo"; + this.labelProgramInfo.Size = new System.Drawing.Size(16, 13); + this.labelProgramInfo.TabIndex = 0; + this.labelProgramInfo.Text = "..."; + // + // groupBoxDLLInfo + // + this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo); + this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372); + this.groupBoxDLLInfo.Name = "groupBoxDLLInfo"; + this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66); + this.groupBoxDLLInfo.TabIndex = 12; + this.groupBoxDLLInfo.TabStop = false; + this.groupBoxDLLInfo.Text = "DLL Information"; + // + // labelDLLInfo + // + this.labelDLLInfo.AutoSize = true; + this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.labelDLLInfo.Location = new System.Drawing.Point(7, 20); + this.labelDLLInfo.Name = "labelDLLInfo"; + this.labelDLLInfo.Size = new System.Drawing.Size(16, 13); + this.labelDLLInfo.TabIndex = 0; + this.labelDLLInfo.Text = "..."; + // + // labelResult + // + this.labelResult.AutoSize = true; + this.labelResult.Location = new System.Drawing.Point(12, 13); + this.labelResult.Name = "labelResult"; + this.labelResult.Size = new System.Drawing.Size(16, 13); + this.labelResult.TabIndex = 13; + this.labelResult.Text = "..."; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.labelResult); + this.Controls.Add(this.groupBoxProgramInfo); + this.Controls.Add(this.groupBoxDLLInfo); + this.Controls.Add(this.buttonShowInfo); + this.Name = "Form1"; + this.Text = "Test_InfoBox"; + this.Load += new System.EventHandler(this.Form1_Load); + this.groupBoxProgramInfo.ResumeLayout(false); + this.groupBoxProgramInfo.PerformLayout(); + this.groupBoxDLLInfo.ResumeLayout(false); + this.groupBoxDLLInfo.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button buttonShowInfo; + private System.Windows.Forms.GroupBox groupBoxProgramInfo; + private System.Windows.Forms.Label labelProgramInfo; + private System.Windows.Forms.GroupBox groupBoxDLLInfo; + private System.Windows.Forms.Label labelDLLInfo; + private System.Windows.Forms.Label labelResult; + } +} + diff --git a/Test_Registry/Form1.cs b/Test_Registry/Form1.cs new file mode 100644 index 0000000..9003a95 --- /dev/null +++ b/Test_Registry/Form1.cs @@ -0,0 +1,173 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Drawing.Text; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using Eugen.ESystem; +using static Eugen.ESystem.Registry; + +namespace Test_Registry +{ + public partial class Form1 : Form + { + #region Version und Copyright + // Version und Copyright + string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen + string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + static object[] attributes = System.Reflection.Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + string copyright = GenerateCopyright(); + string icon = Application.StartupPath + "\\Info.bmp"; + //Assembly Datum und Zeit + static DateTime value = AssemblyDateTime(); + string date = value.ToShortDateString(); + string time = value.ToLongTimeString(); + private static DateTime AssemblyDateTime() + { + var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; + var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision)); + //Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original) + return buildDateTime; + } + + private static string CurrentYear() + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + + private static string StartYear() + { + //string startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + //return startYear.Remove(0, startYear.LastIndexOf(" ") + 1); + string startYear = ""; + if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © ")) + { + startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", ""); + while (startYear.StartsWith(" ")) + { + startYear = startYear.Remove(0, 1); + } + startYear = startYear.Remove(startYear.IndexOf(" ")); + return startYear; + } + else + { + DateTime dtn = DateTime.Now; + return dtn.Year.ToString(); + } + } + + private static string GenerateCopyright() + { + string startYear = StartYear(); + string currentYear = CurrentYear(); + + if (startYear == currentYear) + { + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + else + { + //return String.Concat(((AssemblyCopyrightAttribute)attributes[0]).Copyright, "-", currentYear); + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear)); + } + } + #endregion + + #region Programm-Info + /// + /// Contains the name of the program file + /// + public static string ProgramName { set; get; } + + /// + /// Contains the version of the program file + /// + public static string ProgramVersion { set; get; } + + /// + /// Contains the copyright notice + /// + public static string Copyright { set; get; } + + private void SetProgramInfo() + { + //Name, Version und Copyright setzen + ProgramName = programName; + ProgramVersion = programVersion; + Copyright = copyright; + } + #endregion + + public Form1() + { + SetProgramInfo(); + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + labelProgramInfo.Text = String.Concat(ProgramName, "\r\n", ProgramVersion, "\r\n", Copyright); // Zeigt die Programm-Information an + + labelDLLInfo.Text = String.Concat(Registry.DllName, "\r\n", Registry.DllVersion, "\r\n", Registry.Copyright); // Zeigt die DLL-Information an + } + + private void buttonShowInfo_Click(object sender, EventArgs e) + { + // + // Diese Zeilen gehört in das Programm kopiert + // + // Aufruf des Informationsfensters + + RegMainKey mainKey = RegMainKey.CurrentUser; + string subKey = @"SOFTWARE\MySubkey"; + string regKey = "MyRegkey"; + string regValue = "MyValue"; + + WriteKey(mainKey, subKey, regKey, regValue); //Werte in die Registry schreiben + + string value = ReadKey(mainKey, subKey, regKey); //Wert aus der Registry lesen + + DeleteKey(mainKey, subKey, regKey); //Subkey löschen + + labelResult.Text = "MainKey: " + mainKey + "\nSubKey: " + subKey + "\nRegKey: " + regKey + "\nValue: " + regValue + "\n\nWert in die Registry schreiben\nGelesener Wert aus der Registry: \'" + value + "\'\nRegistry-Key wieder löschen"; + } + + Registry reg = new Registry(); + + private void WriteKey(RegMainKey mainKey, string subKey, string regKey, string regValue) + { + reg.MainKey = mainKey; + reg.SubKey = subKey; + reg.Key = regKey; + reg.Value = regValue; + + reg.WriteSubkey(); //Werte in die Registry schreiben + } + + private string ReadKey(RegMainKey mainKey, string subKey, string regKey) + { + reg.MainKey = mainKey; + reg.SubKey = subKey; + reg.Key = regKey; + + return reg.ReadSubkey().ToString(); //Wert aus der Registry lesen + } + + private void DeleteKey(RegMainKey mainKey, string subKey, string regKey) + { + reg.MainKey = mainKey; + reg.SubKey = subKey; + reg.Key = regKey; + + reg.DeleteSubkey(); //Werte in die Registry schreiben + } + } +} diff --git a/Test_Registry/Form1.resx b/Test_Registry/Form1.resx new file mode 100644 index 0000000..29dcb1b --- /dev/null +++ b/Test_Registry/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Test_Registry/Program.cs b/Test_Registry/Program.cs new file mode 100644 index 0000000..a9a0acd --- /dev/null +++ b/Test_Registry/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Test_Registry +{ + internal static class Program + { + /// + /// Der Haupteinstiegspunkt für die Anwendung. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Test_Registry/Properties/AssemblyInfo.cs b/Test_Registry/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4542590 --- /dev/null +++ b/Test_Registry/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über die folgenden +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("Test_Registry")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Test_Registry")] +[assembly: AssemblyCopyright("Copyright © 2022 by Eugen Höglinger")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("0ae67a7e-70e2-4f1f-a0bd-94d3c2e45b91")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Test_Registry/Properties/Resources.Designer.cs b/Test_Registry/Properties/Resources.Designer.cs new file mode 100644 index 0000000..1f25864 --- /dev/null +++ b/Test_Registry/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using System; + +namespace Test_Registry.Properties +{ + /// + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.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() + { + } + + /// + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if (object.ReferenceEquals(resourceMan, null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Test_Registry.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// + [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/Test_Registry/Properties/Resources.resx b/Test_Registry/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Test_Registry/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/Test_Registry/Properties/Settings.Designer.cs b/Test_Registry/Properties/Settings.Designer.cs new file mode 100644 index 0000000..24aab25 --- /dev/null +++ b/Test_Registry/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace Test_Registry.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.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/Test_Registry/Properties/Settings.settings b/Test_Registry/Properties/Settings.settings new file mode 100644 index 0000000..abf36c5 --- /dev/null +++ b/Test_Registry/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Test_Registry/Test_Registry.csproj b/Test_Registry/Test_Registry.csproj new file mode 100644 index 0000000..95e11f0 --- /dev/null +++ b/Test_Registry/Test_Registry.csproj @@ -0,0 +1,87 @@ + + + + + Debug + AnyCPU + {0AE67A7E-70E2-4F1F-A0BD-94D3C2E45B91} + WinExe + Test_Registry + Test_Registry + v4.8 + 512 + true + false + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\Registry\bin\Debug\heregistry.dll + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/Test_Registry/bin/Debug/Test_Registry.exe b/Test_Registry/bin/Debug/Test_Registry.exe new file mode 100644 index 0000000..445a285 Binary files /dev/null and b/Test_Registry/bin/Debug/Test_Registry.exe differ diff --git a/Test_Registry/bin/Debug/Test_Registry.exe.config b/Test_Registry/bin/Debug/Test_Registry.exe.config new file mode 100644 index 0000000..5ffd8f8 --- /dev/null +++ b/Test_Registry/bin/Debug/Test_Registry.exe.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Test_Registry/bin/Debug/Test_Registry.pdb b/Test_Registry/bin/Debug/Test_Registry.pdb new file mode 100644 index 0000000..9de41c3 Binary files /dev/null and b/Test_Registry/bin/Debug/Test_Registry.pdb differ diff --git a/Test_Registry/bin/Debug/heregistry.dll b/Test_Registry/bin/Debug/heregistry.dll new file mode 100644 index 0000000..c620259 Binary files /dev/null and b/Test_Registry/bin/Debug/heregistry.dll differ diff --git a/Test_Registry/bin/Debug/heregistry.pdb b/Test_Registry/bin/Debug/heregistry.pdb new file mode 100644 index 0000000..40d1847 Binary files /dev/null and b/Test_Registry/bin/Debug/heregistry.pdb differ diff --git a/Test_Registry/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Test_Registry/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..3cf0af3 --- /dev/null +++ b/Test_Registry/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..2a64df3 Binary files /dev/null and b/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5df9763 Binary files /dev/null and b/Test_Registry/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Test_Registry/obj/Debug/Test_Registry.Form1.resources b/Test_Registry/obj/Debug/Test_Registry.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.Form1.resources differ diff --git a/Test_Registry/obj/Debug/Test_Registry.Properties.Resources.resources b/Test_Registry/obj/Debug/Test_Registry.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.Properties.Resources.resources differ diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.AssemblyReference.cache b/Test_Registry/obj/Debug/Test_Registry.csproj.AssemblyReference.cache new file mode 100644 index 0000000..ec93682 Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.csproj.AssemblyReference.cache differ diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.CopyComplete b/Test_Registry/obj/Debug/Test_Registry.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.CoreCompileInputs.cache b/Test_Registry/obj/Debug/Test_Registry.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..4fc1cfc --- /dev/null +++ b/Test_Registry/obj/Debug/Test_Registry.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +0fd3fe2b3c603ba1f9ac39754e925fe501d4d937 diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.FileListAbsolute.txt b/Test_Registry/obj/Debug/Test_Registry.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..e54ae31 --- /dev/null +++ b/Test_Registry/obj/Debug/Test_Registry.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.csproj.AssemblyReference.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.csproj.SuggestedBindingRedirects.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.Form1.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.Properties.Resources.resources +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.csproj.GenerateResource.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.csproj.CoreCompileInputs.cache +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\bin\Debug\Test_Registry.exe.config +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\bin\Debug\Test_Registry.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\bin\Debug\Test_Registry.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\bin\Debug\heregistry.dll +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\bin\Debug\heregistry.pdb +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.csproj.CopyComplete +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.exe +H:\Programmieren\Git-WorkRepository\VisualStudio\_DLL\Registry.git\Test_Registry\obj\Debug\Test_Registry.pdb diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.GenerateResource.cache b/Test_Registry/obj/Debug/Test_Registry.csproj.GenerateResource.cache new file mode 100644 index 0000000..acc8e0c Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.csproj.GenerateResource.cache differ diff --git a/Test_Registry/obj/Debug/Test_Registry.csproj.SuggestedBindingRedirects.cache b/Test_Registry/obj/Debug/Test_Registry.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Test_Registry/obj/Debug/Test_Registry.exe b/Test_Registry/obj/Debug/Test_Registry.exe new file mode 100644 index 0000000..445a285 Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.exe differ diff --git a/Test_Registry/obj/Debug/Test_Registry.pdb b/Test_Registry/obj/Debug/Test_Registry.pdb new file mode 100644 index 0000000..9de41c3 Binary files /dev/null and b/Test_Registry/obj/Debug/Test_Registry.pdb differ diff --git a/Test_Registry/obj/Debug/_IsIncrementalBuild b/Test_Registry/obj/Debug/_IsIncrementalBuild new file mode 100644 index 0000000..ff132f0 --- /dev/null +++ b/Test_Registry/obj/Debug/_IsIncrementalBuild @@ -0,0 +1 @@ +obj\Debug\\_IsIncrementalBuild