System.Net.WebPermission.AcceptList Property

This property returns an enumeration of a single accept 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 AcceptList { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property gets a list of local resources permitted by this System.Net.WebPermission. The class to which you have applied System.Net.WebPermission only has permission to receive an incoming connection to local 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