https://github.com/little-apps/regeditgo
Navigates to a Windows Registry key and (possibly) a value name in regedit.exe
https://github.com/little-apps/regeditgo
csharp interoperability messages microsoft registry windows
Last synced: about 1 month ago
JSON representation
Navigates to a Windows Registry key and (possibly) a value name in regedit.exe
- Host: GitHub
- URL: https://github.com/little-apps/regeditgo
- Owner: little-apps
- License: lgpl-3.0
- Created: 2017-02-09T04:40:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T17:54:48.000Z (about 7 years ago)
- Last Synced: 2025-01-15T23:25:15.439Z (over 1 year ago)
- Topics: csharp, interoperability, messages, microsoft, registry, windows
- Language: C#
- Size: 43.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RegEditGo
Navigates to a Windows Registry key and (possibly) a value name in regedit.exe. Instead of just setting ``LastKey`` in ``HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit``, this utilizes Windows Messages to navigate like an actual user would. This project is a fork of [JumpTo RegEdit](https://www.codeproject.com/articles/20283/jumpto-regedit) created by Reto Ravasio in August 2007.
## License ##
This project is licensed under the [GNU Lesser General Public License v3](http://www.gnu.org/copyleft/lesser.html).
## Notes ##
* Along with "regedit.exe", this program also requires administrator privileges in order to run.
* RegEditGo attempts to get all possible access rights to the "regedit.exe" process object (using ``PROCESS_ALL_ACCESS``) . Although not required, it is recommend the "SeDebugPrivilege" (``SE_DEBUG_NAME``) is added to your program before RegEditGo is used.
* When RegEditGo is unable to send messages to regedit.exe, it is usually because it is running in an incompatible architecture (the default in Visual C# projects is to prefer 32 bit). If this occurs, regedit.exe will be closed and then started again from RegEditGo. If it fails again, a ``SystemException`` is thrown.
## Example ##
try
{
using (var regEditGo = new RegEditGo.RegEditGo(RegKey, ValueName))
{
regEditGo.GoTo();
}
}
catch (Exception ex)
{
// Unable to navigate to registry key or value
}
## Show Your Support ##
Little Apps relies on people like you to keep our software running. If you would like to show your support for Little Software Stats, then you can [make a donation](https://www.little-apps.com/?donate) using PayPal, Payza or Bitcoins. Please note that any amount helps (even just $1).