Gets a value that indicates whether the SNK file contains a private key or not.
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 HasPrivateKey As Boolean |
| C# |
|---|
public bool HasPrivateKey { get; } |
| Visual C++ |
|---|
public: property bool HasPrivateKey { bool get (); } |
Field Value
true if the file contains a private key, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| System.ObjectDisposedException | The object has been disposed. |