PnrpPermissionAttribute Constructor (SecurityAction)

 

Initializes a new instance of the PnrpPermissionAttribute class with the specified SecurityAction.

Namespace:   System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public PnrpPermissionAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions.SecurityAction

One of the SecurityAction values.

PnrpPermissionAttribute works with PnrpPermission to allow or deny actions by the peer granted the permission and the permission attribute.

.NET Framework
Available since 3.5
Return to top
Show: