Gets an RSA instance that represents the public/private key pair.

Namespace: Org.Mentalis.Security.Tools
Assembly:   Org.Mentalis.Security.Tools (in Org.Mentalis.Security.Tools)
Version: 1.0.0.0

Syntax

Visual Basic (Declaration)
Public ReadOnly Property PrivateKey As RSA
C#
public RSA PrivateKey { get; }
Visual C++
public:
property RSA^ PrivateKey {
	RSA^ get ();
}

Field Value

An RSA instance.

Exceptions

ExceptionCondition
System.ObjectDisposedExceptionThe object has been disposed.
System.NotSupportedExceptionThe private key is not available.