AsymmetricSecurityKey.HasPrivateKey Method ()

 

When overridden in a derived class, gets a value that indicates whether the private key is available.

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

public abstract 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: