Starting to port most of my code over from my VB projects and figured some people might find some of this useful.
These aren't guides and I'm not really going to explain anything (The vb versions do that and I will link those here)
Source code is included in a link below.
Source Code
These aren't guides and I'm not really going to explain anything (The vb versions do that and I will link those here)
Source code is included in a link below.
Code:
using Microsoft.Win32;
private void btn_read_Click(object sender, EventArgs e)
{
string InstallPath = (string)Registry.GetValue(@"HKEY_CURRENT_USER\Software\Skype\Phone", "SkypePath", null);
lbl_Key.Text = InstallPath;
}
private void btn_write_Click(object sender, EventArgs e)
{
Registry.SetValue(@"HKEY_CURRENT_USER\Software\Skype\Phone", "SkypePath", "Test");
}
Source Code