Share via


Msr.AuthenticateDevice Method

2/27/2008

Authenticates a device.

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

Syntax

'Declaration
Public Overridable Sub AuthenticateDevice ( _
    responseToken As Byte() _
)
public virtual void AuthenticateDevice (
    byte[] responseToken
)
public:
virtual void AuthenticateDevice (
    array<unsigned char>^ responseToken
)
public void AuthenticateDevice (
    byte[] responseToken
)
public function AuthenticateDevice (
    responseToken : byte[]
)

Parameters

Remarks

To authenticate a device, the application first calls the RetrieveDeviceAuthenticationData method to retrieve a challenge token from the device. The application then typically passes this token to another entity that has special knowledge of a shared secret and is able to create a proper response token. This response token is then passed as the response parameter to this method and the service uses it to validate the authentication request. If this method succeeds, the device enters the authenticated state and the service sets the DeviceAuthenticated property to true.

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