SaveDataIntoRegistry
{
RegistryKey local=RegistryKey。LocalMachine;
RegistryKey software =local.OpenSubKey("hardware",true);
RegistryKey myOwn = software.CreateSubKey("fanglinxi");
myOwn.SetValue("Fanglinxi", " FANGLINXI" as object);
//At this moment, you can see the data that you save .
}