Share via


GenerateKeyPair Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Generates a CryptoKey object representing the key pair for the symmetric algorithm.

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

Syntax

'Declaration
Protected MustOverride Sub GenerateKeyPair
protected abstract void GenerateKeyPair()
protected:
virtual void GenerateKeyPair() abstract
abstract GenerateKeyPair : unit -> unit 
protected abstract function GenerateKeyPair()

.NET Framework Security

See Also

Reference

AsymmetricAlgorithm Class

System.Security.Cryptography Namespace