How can I automate the following manual steps in C#?
Right click a folder in Windows Explorer;
Properties -> Security -> Advanced -> Edit
Un-tick "Include inheritable permissions from this object's parent" and click Remove.
Click Add, choose a group and grant it Modify rights.
I've found this article, which looks like exactly what i need, but I don't have and cant find Microsoft.Win32.Security
Thanks