An open API service indexing awesome lists of open source software.

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

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).