ClaimedMagneticStripeReader 클래스

정의

클레임된 자기 줄무늬 판독기를 나타냅니다.

public ref class ClaimedMagneticStripeReader sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ClaimedMagneticStripeReader final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ClaimedMagneticStripeReader final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ClaimedMagneticStripeReader : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ClaimedMagneticStripeReader : System.IDisposable
Public NotInheritable Class ClaimedMagneticStripeReader
Implements IDisposable
상속
Object Platform::Object IInspectable ClaimedMagneticStripeReader
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 개체는 ClaimReaderAsync 메서드가 완료되면 만들어집니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1809 17763 종결

속성

DataEncryptionAlgorithm

트랙 데이터를 암호화하는 데 사용할 MagneticStripeReaderEncryptionAlgorithms 를 가져오거나 설정합니다.

DeviceId

클레임된 자기 줄무늬 판독기의 DeviceInformation.Id 가져옵니다.

IsDecodeDataEnabled

가장 최근에 살짝 밀기된 카드 원시 또는 디코딩된 데이터를 제공할지 여부를 나타냅니다.

IsDeviceAuthenticated

디바이스가 인증되었는지 여부를 나타냅니다.

IsDisabledOnDataReceived

가장 최근에 살짝 밀기 카드 데이터를 받은 후 자기 줄무늬 판독기가 비활성화되었는지 여부를 나타내는 부울 값을 가져오거나 설정합니다.

IsEnabled

자기 스트라이프 판독기가 데이터 이벤트를 받을 준비가 되었는지 여부를 나타냅니다.

IsTransmitSentinelsEnabled

트랙 데이터에 start 및 end sentinel 값이 포함되어 있는지 여부를 나타냅니다.

TracksToRead

카드 살짝 밀기 후 애플리케이션이 수신하려는 추적 데이터를 가져오거나 설정합니다.

메서드

AuthenticateDeviceAsync(Byte[])

디바이스를 인증된 상태로 전환합니다.

Close()

자기 스트립 판독기에게 배타적 클레임을 해제합니다.

DeAuthenticateDeviceAsync(Byte[])

디바이스를 인증되지 않은 상태로 전환합니다.

DisableAsync()

ClaimedMagneticStripeReader를 데이터 이벤트를 수신할 수 없는 상태로 설정합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

EnableAsync()

자기 줄무늬 판독기를 데이터 이벤트를 수신할 준비가 된 상태로 가져옵니다.

ResetStatisticsAsync(IIterable<String>)

다시 설정할 수 있는 모든 통계에 대해 지정된 통계를 0으로 다시 설정합니다.

RetainDevice()

자기 줄무늬 판독기 전용 클레임을 유지합니다.

RetrieveDeviceAuthenticationDataAsync()

디바이스에서 챌린지 토큰을 검색합니다.

SetErrorReportingType(MagneticStripeReaderErrorReportingType)

ErrorOccurred 이벤트에서 보고할 오류 유형을 설정합니다.

UpdateKeyAsync(String, String)

디바이스에 새 암호화 키를 제공합니다.

UpdateStatisticsAsync(IIterable<KeyValuePair<String,String>>)

지정된 통계를 업데이트.

이벤트

AamvaCardDataReceived

자동차 카드 살짝 밀면 발생합니다.

BankCardDataReceived

은행 카드 살짝 밀면 발생합니다.

Closed

ClaimedMagneticStripeReader가 닫혀 있을 때 발생하는 이벤트입니다.

ErrorOccurred

자기 줄무늬 판독기가 카드 읽을 때 오류를 감지할 때 발생합니다.

ReleaseDeviceRequested

디바이스가 배타적 클레임을 해제하라는 요청을 받을 때 발생합니다.

VendorSpecificDataReceived

공급업체별 카드 살짝 밀면 발생합니다.

적용 대상

추가 정보