Imported Upstream version 4.6.0.182

Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-09-01 10:46:18 +00:00
parent c911219690
commit 804b15604f
118 changed files with 1007 additions and 891 deletions

View File

@@ -36,22 +36,28 @@ namespace Microsoft.Win32
{
public static class RegistryAclExtensions
{
[MonoTODO]
public static RegistrySecurity GetAccessControl (this RegistryKey key)
{
throw new NotImplementedException ();
if (key == null)
throw new ArgumentNullException (nameof (key));
return key.GetAccessControl ();
}
[MonoTODO]
public static RegistrySecurity GetAccessControl (this RegistryKey key, AccessControlSections includeSections)
{
throw new NotImplementedException ();
if (key == null)
throw new ArgumentNullException (nameof (key));
return key.GetAccessControl (includeSections);
}
[MonoTODO]
public static void SetAccessControl (this RegistryKey key, RegistrySecurity registrySecurity)
{
throw new NotImplementedException ();
if (key == null)
throw new ArgumentNullException (nameof (key));
key.SetAccessControl (registrySecurity);
}
}
}