X509AsymmetricSecurityKey.HasPrivateKey 方法
定义
获取一个值,该值指示该私钥是否可用。Gets a value that indicates whether the private key is a available.
public:
override bool HasPrivateKey();
public override bool HasPrivateKey ();
override this.HasPrivateKey : unit -> bool
Public Overrides Function HasPrivateKey () As Boolean
返回
如果私钥可用,则为 true;否则为 false。true when the private key is available; otherwise, false.