System.Security.Policy.NetCodeGroup.GetConnectAccessRules Method

Gets the connection access information for the current code group.

Syntax

public DictionaryEntry[] GetConnectAccessRules ()

Returns

A DictionaryEntry array containing connection access information.

Remarks

In each dictionary entry, the DictionaryEntry.Key property value is the origin scheme, and the DictionaryEntry.Value property value is the array of associated System.Security.Policy.CodeConnectAccess objects. If there are no associated System.Security.Policy.CodeConnectAccess objects, DictionaryEntry.Value returns an empty array.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0