NetworkInformationPermissionAttribute.Access 属性

定义

获取或设置网络信息访问级别。

public:
 property System::String ^ Access { System::String ^ get(); void set(System::String ^ value); };
public string Access { get; set; }
member this.Access : string with get, set
Public Property Access As String

属性值

一个指定访问级别的字符串。

注解

下表显示了此属性的有效值。

价值 Description
"Read" 读取对网络信息的访问权限。
“Full” 完全访问网络信息。
“None” 无法访问网络信息。

适用于