NetworkInformationPermissionAttribute Constructor (SecurityAction)

 

Initializes a new instance of the NetworkInformationPermissionAttribute class.

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

public:
NetworkInformationPermissionAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions::SecurityAction

A SecurityAction value that specifies the permission behavior.

The security action defines which callers must have the permission.

.NET Framework
Available since 2.0
Return to top
Show: