Beispiel #1
0
        public void WriteToRegistry(string registrySubKey)
        {
            RegistryUtility regUtil = new RegistryUtility(registrySubKey + "\\" + this.InstanceNumber.ToString("00"));

            foreach (var prop in this.GetType().GetProperties())
            {
                regUtil.Write(prop.Name, prop.GetValue(this, null));
            }
        }