Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# write to registry hkey_current_user

//accessing the CurrentUser root element  
//and adding "OurSettings" subkey to the "SOFTWARE" subkey  
RegistryKey key = Registry.CurrentUser.CreateSubKey(@"SOFTWAREOurSettings"); 

//storing the values  
key.SetValue("Setting1", "This is our setting 1");  
key.SetValue("Setting2", "This is our setting 2");  
key.Close(); 
Comment

PREVIOUS NEXT
Code Example
Csharp :: compare 0001/01/01 in c# 
Csharp :: slider script unity 
Csharp :: asp.net Read raw Body 
Csharp :: C# console out restore 
Csharp :: c# date to julian YYJJJ date 
Csharp :: c# string size in bytes 
Csharp :: soundplayer c# take uri 
Csharp :: .net 6 foreach only if not null 
Csharp :: how to add the ssl certificate in vb.net application 
Csharp :: c# if a new program is started 
Csharp :: character stay in ground unity 3d 
Csharp :: blender how to switch cameras 
Csharp :: membership get user id 
Csharp :: How to retrieve a dead letter msg dotnet 
Csharp :: how to full screen login form using C# MVC 
Csharp :: c# isalphanumeric 
Csharp :: Align String with Spaces [C#] 
Csharp :: list in c# foreach 
Csharp :: filter enum using linq query 
Csharp :: C# look through object 
Csharp :: AutoFixture ignore property 
Csharp :: c# extension method in non static class 
Csharp :: visual studio import excel get document created date 
Csharp :: windows 10 see how long a program has been running 
Csharp :: game creator change local variable 
Csharp :: c# string split by length 
Csharp :: bitwise and c# 
Csharp :: thread c# 
Csharp :: parsons it solutions 
Csharp :: c# array inst working 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =