Share via


ClaimedMagneticStripeReader.UpdateKeyAsync(String, String) Method

Definition

Provides a new encryption key to the device.

public:
 virtual IAsyncAction ^ UpdateKeyAsync(Platform::String ^ key, Platform::String ^ keyName) = UpdateKeyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction UpdateKeyAsync(winrt::hstring const& key, winrt::hstring const& keyName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction UpdateKeyAsync(string key, string keyName);
function updateKeyAsync(key, keyName)
Public Function UpdateKeyAsync (key As String, keyName As String) As IAsyncAction

Parameters

key
String

Platform::String

winrt::hstring

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

keyName
String

Platform::String

winrt::hstring

The name used to identify the key.

Returns

Attributes

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.

Applies to