System.Security.Policy.Evidence Members

The members of System.Security.Policy.Evidence are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new empty instance of the System.Security.Policy.Evidence class.

Initializes a new instance of the System.Security.Policy.Evidence class from a shallow copy of an existing one.

Initializes a new instance of the System.Security.Policy.Evidence class from multiple sets of host and assembly evidence.

Public Properties

[read-only]
Countint.

Gets the number of evidence objects in the evidence set.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the evidence set is read-only.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether the evidence set is thread-safe.

Lockedbool.

Gets or sets a value indicating whether the evidence is locked.

[read-only]
SyncRootobject.

Gets the synchronization root.

Public Methods

AddAssembly(object)

Adds the specified assembly evidence to the evidence set.

AddHost(object)

Adds the specified evidence supplied by the host to the evidence set.

Clear()

Removes the host and assembly evidence from the evidence set.

CopyTo(Array, int)

Copies evidence objects to an Array.

override
Equals(object) : bool
Documentation for this section has not yet been entered.
GetAssemblyEnumerator() : IEnumerator

Enumerates evidence provided by the assembly.

GetEnumerator() : IEnumerator

Enumerates all evidence in the set, both that provided by the host and that provided by the assembly.

override
GetHashCode() : int
Documentation for this section has not yet been entered.
GetHostEnumerator() : IEnumerator

Enumerates evidence supplied by the host.

Merge(Evidence)

Merges the specified evidence set into the current evidence set.

RemoveType(Type)

Removes the evidence for a given type from the host and assembly enumerations.