X509SignatureGenerator.PublicKey Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the public key associated with the private key with which signatures are being generated.
public:
 property System::Security::Cryptography::X509Certificates::PublicKey ^ PublicKey { System::Security::Cryptography::X509Certificates::PublicKey ^ get(); };public System.Security.Cryptography.X509Certificates.PublicKey PublicKey { get; }member this.PublicKey : System.Security.Cryptography.X509Certificates.PublicKeyPublic ReadOnly Property PublicKey As PublicKeyProperty Value
The public key associated with the private key with which signatures are being generated.
Remarks
If the public key is null, it creates a public key by calling the BuildPublicKey() method.