How to create only a registry key for reading?

Is there a way to create a read-only key in C #?

+4
source share
1 answer

When you create a subsection , you can grant permissions and also call SetAccessControl . Both of them use the RegistrySecurity class to represent ACLs.

It is not as simple as read-only, but it should be able to represent what you want.

+9
source

Source: https://habr.com/ru/post/1445700/


All Articles