Changing Registry Permissions Programmatically
-
Does anyone know how to change the permissions or add a user to a particular registry key programmatically? I know you can do this manually with regedit so it follows that you should be able to do it programmatically. I just haven't seen any clear docs on how this might be accomplished with C#. I've looked at using the Registry functions in the framework, however, nothing stands out as a way to accomplish this. Any suggestions? Thanks. -Matt p.s. I am trying to do this from an installer/deployment app. ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
-
Does anyone know how to change the permissions or add a user to a particular registry key programmatically? I know you can do this manually with regedit so it follows that you should be able to do it programmatically. I just haven't seen any clear docs on how this might be accomplished with C#. I've looked at using the Registry functions in the framework, however, nothing stands out as a way to accomplish this. Any suggestions? Thanks. -Matt p.s. I am trying to do this from an installer/deployment app. ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall
perlmunger wrote: I've looked at using the Registry functions in the framework, however, nothing stands out as a way to accomplish this. Any suggestions? I suggest you read it again! Its all rather clear... leppie::AllocCPArticle("Zee blog");
Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it. -
perlmunger wrote: I've looked at using the Registry functions in the framework, however, nothing stands out as a way to accomplish this. Any suggestions? I suggest you read it again! Its all rather clear... leppie::AllocCPArticle("Zee blog");
Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.Jerk! ;-) Seriously though, all I see is information on reading the permissions, not changing them. Do you have particular links you can point me to? -Matt p.s. I'm surprised at you leppie. You've not been a smart ass when answering my questions before. :-D ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall