Avatar of McCoin
McCoin

asked on 

Searching windows Registry

I need to be able to search through the registry and search for certain key words. Does anyone know of a good c# wrapper or have a solid example on how to do this?

Thanks
C#

Avatar of undefined
Last Comment
McCoin
ASKER CERTIFIED SOLUTION
Avatar of RedKelvin
RedKelvin

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of McCoin
McCoin

ASKER

Thank you for the links. Is there another solution that doesn't use Interop? it is extremely slow using the log parser.

I would prefer to use a direct query against the registry as apposed to using this log parser.

Thanks
Avatar of RedKelvin
RedKelvin

Not to my knowledge, I think the only way to search the registry is to recurse it.

Think about REGEDIT for example, doing a find in there is slooooow.
Avatar of McCoin
McCoin

ASKER

True,
Well you answered my question and my problem is solved. it's not fast but there may not be a "quick" way to do it.

The links certainly helps.

Thanks again
C#
C#

C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).

98K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo