public PublicKey PublicKey { get; protected set; }
Public Property PublicKey As PublicKey
Get
Protected Set
public:
property PublicKey^ PublicKey {
PublicKey^ get ();
protected: void set (PublicKey^ value);
}
member PublicKey : PublicKey with get, set
This property returns a PublicKey object, which contains the object identifier (Oid) representing the public key algorithm, the ASN.1-encoded parameters, and the ASN.1-encoded key value.
You can also obtain the key as an AsymmetricAlgorithm object by referencing the PublicKey property. This property supports only RSA or DSA keys, so it returns either an RSACryptoServiceProvider or a DSACryptoServiceProvider object that represents the public key.