System.Net.WebPermission.ConnectList Property

This property returns an enumeration of a single connect permissions held by this System.Net.WebPermission. The possible objects types contained in the returned enumeration are string and System.Text.RegularExpressions.Regex.

Syntax

public IEnumerator ConnectList { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property gets a list of remote resources that are permitted by this System.Net.WebPermission. The class to which you have applied System.Net.WebPermission only has permission to connect with resources found in this list.

Note:

You can add URIs to this list using WebPermission.AddPermission(NetworkAccess, string).

Note:

A candidate URI string is checked against the list of relevant regular expressions (WebPermission.AcceptList or WebPermission.ConnectList) in two ways. First, the candidate URI string is checked against the appropriate list; then, if there is no match, the candidate URI string is converted into a Uri and checked against the appropriate list.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0