There's not many sites with documentation on remotely editing registry so I'll include the code I incorporated into my R2E - Remote Registry Editor. You can modify or add code to any remote registry (pending remote registry service is started for your Win32 machine).
void ImplementChanges
(string machine, string keypath,
string value, string t,
string v, string key, string vn)
{
RegistryKey baseKey =
RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, machine);
RegistryKey sk1 =
baseKey.OpenSubKey(keypath, true);
string key1 = key;
sk1.CreateSubKey(key1);
sk1.SetValue(vn, value,
RegistryValueKind.ExpandString);
}
Various Scripts and Application Code Segments for .NET, VB, C#, C++, C, Java, JavaScript, HTML, Python, Perl, AutoIT, Batch, ASP Classic, Objective-C, Swift, Unreal Engine 4, Unity3D & others. Also contains numerous IT tidbits, procedures, and tricks including Technology Hacks on various platforms.
Subscribe to:
Post Comments (Atom)
Generating "Always On Top" NSWindow in macOS across all detected displays
Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift Langues, you m...
-
Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift Langues, you m...
-
This simple script is how to submit scores and points to the Game Center from a Unity3D Game. People use the prime31 plugin, and pay the e...
-
Recently Possess () has been deprecated from UE4 , and when writing classes based on AAIController you have to use the function OnPossess ...
No comments:
Post a Comment