Okuma
RegistryKey rgkSettings = Registry.CurrentUser.CreateSubKey("MyRegistryKey");txtUserID.Text = (string)rgkSettings.GetValue("LoginUserID");
Yazma
RegistryKey rgkSettings = Registry.CurrentUser.CreateSubKey("MyRegistryKey");rgkSettings.SetValue("LoginUserID", txtUserID.Text);
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.