System.Security.Permissions.RegistryPermissionAttribute.ViewAndModify Property

Gets or sets a specified set of registry keys that can be viewed and modified.

Syntax

public string ViewAndModify { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Key access implies access to all values it contains and all variables under it.

This property specifies RegistryPermissionAttribute.Create, RegistryPermissionAttribute.Read, and RegistryPermissionAttribute.Write access rights for the specified keys and their values. The access rights are for registry data only; they do not include the access control rights RegistryPermissionAttribute.ChangeAccessControl or RegistryPermissionAttribute.ViewAccessControl.

Note:

The get accessor is provided for C# compiler compatibility. The C# compiler requires attribute properties to be read/write.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0