ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) Method

Definition

Provides a new encryption key to the device.

public : IAsyncAction UpdateKeyAsync(Platform::String key, Platform::String keyName)
IAsyncAction UpdateKeyAsync(winrt::hstring key, winrt::hstring keyName) const;
public IAsyncAction UpdateKeyAsync(String key, String keyName)
Public Function UpdateKeyAsync(key As String, keyName As String) As IAsyncAction
Windows.Devices.PointOfService.ClaimedMagneticStripeReader.updateKeyAsync(key, keyName).done( /* Your success and error handlers */ );

Parameters

key
String String String

The HEX-ASCII or base64-encoded value for the new key.

keyName
String String String

The name used to identify the key.

Returns

Remarks

This method is only used for those encryption algorithms in which the new key values are sent to the terminal as a field in standard messages from the host.