Редагувати

Поділитися через


StrongNameSignatureInformation.PublicKey Property

Definition

Gets the public key that is used to verify the signature.

public:
 property System::Security::Cryptography::AsymmetricAlgorithm ^ PublicKey { System::Security::Cryptography::AsymmetricAlgorithm ^ get(); };
public System.Security.Cryptography.AsymmetricAlgorithm PublicKey { get; }
member this.PublicKey : System.Security.Cryptography.AsymmetricAlgorithm
Public ReadOnly Property PublicKey As AsymmetricAlgorithm

Property Value

The public key that is used to verify the signature.

Remarks

The only case that returns null is when IsValid is false. If the signature is valid, there will always be a key.

Applies to