Changes a card key.
Namespace:
CardWerk.SmartCard.CardModule.DESFire
Assembly: CardWerk.SmartCard.CardModule.DESFire (in CardWerk.SmartCard.CardModule.DESFire.dll)
Public Function ChangeKey( _
ByVal newCryptoMethod As Integer, _
ByVal keyNumber As Integer, _
ByVal oldKeyValue As Byte(), _
ByVal newKeyValue As Byte() _
) As Boolean
This language is not supported or no code example is available.
public bool ChangeKey(
int newCryptoMethod,
int keyNumber,
byte[] oldKeyValue,
byte[] newKeyValue
)
This language is not supported or no code example is available.
public:
bool ChangeKey(
int newCryptoMethod,
int keyNumber,
array< Byte >^ oldKeyValue,
array< Byte >^ newKeyValue
)
This language is not supported or no code example is available.
public function ChangeKey(
newCryptoMethod : int,
keyNumber : int,
oldKeyValue : byte[],
newKeyValue : byte[]
) : boolean;
This language is not supported or no code example is available.
Parameters
-
newCryptoMethod
-
Type: int
The new crypto method of the new key.
-
keyNumber
-
Type: int
The key number of the new key.
-
oldKeyValue
-
Type: byte[]
The old key value.
-
newKeyValue
-
Type: byte[]
The new key value.
Return Value
Type:
bool
True if it succeeds, false if it fails.
.NET Framework
Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Core
Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0
.NET Standard
Supported in: 2.0