PublicKeyExtensionsGetKeyLength Method
Gets the public key length in bits.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static int GetKeyLength(
this PublicKey publicKey
)
<ExtensionAttribute>
Public Shared Function GetKeyLength (
publicKey As PublicKey
) As Integer
public:
[ExtensionAttribute]
static int GetKeyLength(
PublicKey^ publicKey
)
[<ExtensionAttribute>]
static member GetKeyLength :
publicKey : PublicKey -> int
- publicKey PublicKey
- An instance of public key.
Int32Public key length in bits.In Visual Basic and C#, you can call this method as an instance method on any object of type
PublicKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).