HashMembershipCondition HashMembershipCondition HashMembershipCondition HashMembershipCondition Class

정의

어셈블리의 해시 값을 테스트하여 어셈블리가 코드 그룹에 속하는지 여부를 확인합니다.Determines whether an assembly belongs to a code group by testing its hash value. 이 클래스는 상속될 수 없습니다.This class cannot be inherited.

public ref class HashMembershipCondition sealed : System::Runtime::Serialization::IDeserializationCallback, System::Runtime::Serialization::ISerializable, System::Security::Policy::IMembershipCondition
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class HashMembershipCondition : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.Security.Policy.IMembershipCondition
type HashMembershipCondition = class
    interface IMembershipCondition
    interface IDeserializationCallback
    interface ISerializable
    interface ISecurityEncodable
    interface ISecurityPolicyEncodable
Public NotInheritable Class HashMembershipCondition
Implements IDeserializationCallback, IMembershipCondition, ISerializable
상속
HashMembershipConditionHashMembershipConditionHashMembershipConditionHashMembershipCondition
특성
구현

생성자

HashMembershipCondition(HashAlgorithm, Byte[]) HashMembershipCondition(HashAlgorithm, Byte[]) HashMembershipCondition(HashAlgorithm, Byte[]) HashMembershipCondition(HashAlgorithm, Byte[])

멤버를 확인하는 해시 알고리즘 및 해시 값을 사용하여 HashMembershipCondition 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the HashMembershipCondition class with the hash algorithm and hash value that determine membership.

속성

HashAlgorithm HashAlgorithm HashAlgorithm HashAlgorithm

멤버 자격 조건에 사용할 해시 알고리즘을 가져오거나 설정합니다.Gets or sets the hash algorithm to use for the membership condition.

HashValue HashValue HashValue HashValue

멤버 자격 조건에서 테스트할 해시 값을 가져오거나 설정합니다.Gets or sets the hash value for which the membership condition tests.

메서드

Check(Evidence) Check(Evidence) Check(Evidence) Check(Evidence)

지정된 증명 정보가 멤버 자격 조건에 맞는지 여부를 확인합니다.Determines whether the specified evidence satisfies the membership condition.

Copy() Copy() Copy() Copy()

멤버 자격 조건의 동일한 복사본을 만듭니다.Creates an equivalent copy of the membership condition.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

지정된 개체의 HashValueHashAlgorithm이 현재 HashValue에 포함된 HashAlgorithmHashMembershipCondition과 동일한지 여부를 확인합니다.Determines whether the HashValue and the HashAlgorithm from the specified object are equivalent to the HashValue and HashAlgorithm contained in the current HashMembershipCondition.

FromXml(SecurityElement) FromXml(SecurityElement) FromXml(SecurityElement) FromXml(SecurityElement)

XML 인코딩의 지정된 상태를 사용하여 보안 개체를 다시 만듭니다.Reconstructs a security object with a specified state from an XML encoding.

FromXml(SecurityElement, PolicyLevel) FromXml(SecurityElement, PolicyLevel) FromXml(SecurityElement, PolicyLevel) FromXml(SecurityElement, PolicyLevel)

XML 인코딩의 지정된 상태를 사용하여 보안 개체를 다시 만듭니다.Reconstructs a security object with a specified state from an XML encoding.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

현재 멤버 자격 조건의 해시 코드를 가져옵니다.Gets the hash code for the current membership condition.

GetType() GetType() GetType() GetType()

현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

멤버 자격 조건의 문자열 표현을 만들어 반환합니다.Creates and returns a string representation of the membership condition.

ToXml() ToXml() ToXml() ToXml()

보안 개체 및 현재 상태의 XML 인코딩을 만듭니다.Creates an XML encoding of the security object and its current state.

ToXml(PolicyLevel) ToXml(PolicyLevel) ToXml(PolicyLevel) ToXml(PolicyLevel)

보안 개체 및 해당 보안 개체의 현재 상태에 대한 XML 인코딩을 지정된 PolicyLevel로 만듭니다.Creates an XML encoding of the security object and its current state with the specified PolicyLevel.

명시적 인터페이스 구현

IDeserializationCallback.OnDeserialization(Object) IDeserializationCallback.OnDeserialization(Object) IDeserializationCallback.OnDeserialization(Object) IDeserializationCallback.OnDeserialization(Object)

전체 개체 그래프가 deserialize될 때 실행됩니다.Runs when the entire object graph has been deserialized.

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

대상 개체를 serialize하는 데 필요한 데이터로 SerializationInfo를 채웁니다.Populates a SerializationInfo with the data needed to serialize the target object.

적용 대상