RsaSecurityKey.HasPrivateKey Method ()

 

Gets a value that indicates whether the private key is available.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override bool HasPrivateKey()

Return Value

Type: System.Boolean

true when the private key is available; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: