System.Security.Policy.ApplicationTrustCollection.Find Method

Gets the application trusts in the collection that match the specified application identity.

Syntax

public ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, ApplicationVersionMatch versionMatch)

Parameters

applicationIdentity
An ApplicationIdentity object describing the application to find.
versionMatch
One of the System.Security.Policy.ApplicationVersionMatch values.

Returns

An System.Security.Policy.ApplicationTrustCollection containing all matching System.Security.Policy.ApplicationTrust objects.

Remarks

The application trust is optionally selected by an exact version match, based on the value of the versionMatch parameter.

Requirements

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