Share via


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

属性值

指定访问级别的字符串。

注解

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

Value 说明
"Read" 可以读取网络信息。
“Full” 完全访问网络信息。
"None" 不能访问网络信息。

适用于