Share via


Msr.UpdateKey Method

2/27/2008

Provides a new encryption key to the device.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Overridable Sub UpdateKey ( _
    key As String, _
    keyName As String _
)
public virtual void UpdateKey (
    string key,
    string keyName
)
public:
virtual void UpdateKey (
    String^ key, 
    String^ keyName
)
public void UpdateKey (
    String key, 
    String keyName
)
public function UpdateKey (
    key : String, 
    keyName : String
)

Parameters

  • key
    A Hex-ASCII value for a new key.
  • keyName
    A name used to identify the key.

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

Msr Class
Msr Members
Microsoft.PointOfService Namespace