StrongNameSignatureInformation.PublicKey Property

 

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

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public AsymmetricAlgorithm PublicKey { get; }

Property Value

Type: System.Security.Cryptography.AsymmetricAlgorithm

The public key that is used to verify the signature.

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

.NET Framework
Available since 3.5
Return to top
Show: