NetworkInformationPermissionAttribute.Access Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the network information access level.

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

public string Access { get; set; }

Property Value

Type: System.String

A string that specifies the access level.

The valid values for this property are shown in the following table.




Read access to network information.


Full access to network information.


No access to network information.

.NET Framework
Available since 2.0
Return to top