Msr.DeauthenticateDevice Method (POS for .NET v1.12 SDK Documentation)
2/27/2008
Deauthenticates a device that is currently in the authenticated state
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public Overridable Sub DeauthenticateDevice ( _
responseToken As Byte() _
)
public virtual void DeauthenticateDevice (
byte[] responseToken
)
public:
virtual void DeauthenticateDevice (
array<unsigned char>^ responseToken
)
public void DeauthenticateDevice (
byte[] responseToken
)
public function DeauthenticateDevice (
responseToken : byte[]
)
Parameters
- responseToken
A response token generated from the challenge token retrieved from a previous call to the RetrieveDeviceAuthenticationData method.
Remarks
A device that is currently authenticated implies that DeviceAuthenticated is set to true.
The token is typically generated by passing the challenge retrieved from the RetrieveDeviceAuthenticationData method to an entity that has special knowledge of a shared secret. If this method succeeds the service sets DeviceAuthenticated to false and queues a StatusUpdateEvent with status value set to StatusDeviceDeauthenticated.
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.