System.Security.Policy.UrlMembershipCondition Class

Determines whether an assembly belongs to a code group by testing its URL. This class cannot be inherited.

See Also: UrlMembershipCondition Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class UrlMembershipCondition : IConstantMembershipCondition, IMembershipCondition

Remarks

The complete URL is considered, including the protocol (HTTP, HTTPS, FTP) and the file. For example, http://www.fourthcoffee.com/process/grind.htm is a complete URL.

URLs can be matched exactly or by a wildcard in the final position. For example, http://www.fourthcoffee.com/process/* is a wildcard URL.

Requirements

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