System.Security.Policy.StrongNameMembershipCondition Members

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

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Security.Policy.StrongNameMembershipCondition class with the strong name public key blob, name, and version number that determine membership.

Public Properties

Namestring.

Gets or sets the simple name of the System.Security.Policy.StrongName for which the membership condition tests.

PublicKeySystem.Security.Permissions.StrongNamePublicKeyBlob.

Gets or sets the System.Security.Permissions.StrongNamePublicKeyBlob of the System.Security.Policy.StrongName for which the membership condition tests.

VersionVersion.

Gets or sets the Version of the System.Security.Policy.StrongName for which the membership condition tests.

Public Methods

Check(Evidence) : bool

Determines whether the specified evidence satisfies the membership condition.

Copy() : IMembershipCondition

Creates an equivalent copy of the current System.Security.Policy.StrongNameMembershipCondition.

override
Equals(object) : bool

Determines whether the System.Security.Policy.StrongName from the specified object is equivalent to the System.Security.Policy.StrongName contained in the current System.Security.Policy.StrongNameMembershipCondition.

FromXml(System.Security.SecurityElement)

Reconstructs a security object with a specified state from an XML encoding.

FromXml(System.Security.SecurityElement, PolicyLevel)

Reconstructs a security object with a specified state from an XML encoding.

override
GetHashCode() : int

Returns the hash code for the current System.Security.Policy.StrongNameMembershipCondition.

override
ToString() : string

Creates and returns a string representation of the current System.Security.Policy.StrongNameMembershipCondition.

ToXml() : System.Security.SecurityElement

Creates an XML encoding of the security object and its current state.

ToXml(PolicyLevel) : System.Security.SecurityElement

Creates an XML encoding of the security object and its current state with the specified System.Security.Policy.PolicyLevel.