SetAccessControl() public static method

public static SetAccessControl ( this key, System registrySecurity ) : void
key this
registrySecurity System
return void
Exemplo n.º 1
0
 public void SetAccessControl_NullArgument_Throws()
 {
     Assert.Throws <ArgumentNullException>(() => RegistryAclExtensions.SetAccessControl(null, new System.Security.AccessControl.RegistrySecurity()));
 }