Share via


PinPadBase.VerifyMac Method

2/27/2008

Tells the service object to verify the MAC value in a message received from an EFT Transaction Host.

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

Syntax

'Declaration
Public Overrides Sub VerifyMac ( _
    message As String _
)
public override void VerifyMac (
    string message
)
public:
virtual void VerifyMac (
    String^ message
) override
public void VerifyMac (
    String message
)
public override function VerifyMac (
    message : String
)

Parameters

  • message
    The message parameter contains a message received from an EFT Transaction Host.

Remarks

PinPadBase class verifies that the application has opened, claimed, and enabled the device. VerifyMac may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Disabled

The application has not called the BeginEftTransaction method.

Illegal

The PinEntryEnabled property is set to true; the PIN pad can’t perform a MAC verification during PIN entry.

Otherwise, it calls the VerifyMacImpl protected method.

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

PinPadBase Class
PinPadBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PinPad.VerifyMac Method
VerifyMacImpl