NetworkInformationPermission Constructor (NetworkInformationAccess)
.NET Framework (current version)
Initializes a new instance of the NetworkInformationPermission class using the specified NetworkInformationAccess value.
Assembly: System (in System.dll)
Parameters
- access
-
Type:
System.Net.NetworkInformation::NetworkInformationAccess
One of the NetworkInformationAccess values.
The permission created by this constructor can be used to secure access to network information.
The following example creates a permission object that controls access to network information.
.NET Framework
Available since 2.0
Available since 2.0
Show: