GetKeyType Method
GetKeyType(PivAlgorithm)
Converts a PivAlgorithm to its corresponding KeyType.
C#
public static KeyType GetKeyType(this PivAlgorithm pivAlgorithm)
Parameters
Type | Name | Description |
---|---|---|
PivAlgorithm | pivAlgorithm | The PIV algorithm to convert. |
Returns
The corresponding KeyType.
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the PIV algorithm cannot be mapped to a KeyType. |