Is it possible to build an application that searches for a key in the Windows registry with an exact name and when it finds its value changed by a user-defined value?
If possible what is the best language to implement this? VB.NET?!
Is it possible to build an application that searches for a key in the Windows registry with an exact name and when it finds its value changed by a user-defined value?
If possible what is the best language to implement this? VB.NET?!
Yes, it is possible.
In C #:
using (RegistryKey key = Registry.LocalMachine.OpenSubKey("oMeuCaminho"))
{
if (key != null)
key.SetValue("nomeDaMinhaChave", "valorDaMinhaChave", RegistryValueKind.String);
}
Or in VB.NET:
Registry.SetValue("oMeuCaminho", "nomeDaMinhaChave", "valorDaMinhaChave")