NetworkInformationPermissionAttribute.Access Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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.

Value

Description

"Read"

Read access to network information.

"Full"

Full access to network information.

"None"

No access to network information.

.NET Framework
Available since 2.0
Return to top
Show: