public RegistrySecurity GetAccessControl ()
{
- throw new NotImplementedException ();
+ return GetAccessControl (AccessControlSections.Owner |
+ AccessControlSections.Group |
+ AccessControlSections.Access);
}
public RegistrySecurity GetAccessControl (AccessControlSections includeSections)
{
- throw new NotImplementedException ();
+ return new RegistrySecurity (Name, includeSections);
}
public void SetAccessControl (RegistrySecurity registrySecurity)
{
- throw new NotImplementedException ();
+ if (null == registrySecurity)
+ throw new ArgumentNullException ("registrySecurity");
+
+ registrySecurity.PersistModifications (Name);
}