MagneticStripeReader 클래스

정의

자기 줄무늬 판독기 디바이스를 나타냅니다.

public ref class MagneticStripeReader sealed
public ref class MagneticStripeReader 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 MagneticStripeReader final
/// [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 MagneticStripeReader 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 MagneticStripeReader
[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 MagneticStripeReader : System.IDisposable
Public NotInheritable Class MagneticStripeReader
Public NotInheritable Class MagneticStripeReader
Implements IDisposable
상속
Object Platform::Object IInspectable MagneticStripeReader
특성
구현

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에서 도입되었습니다.)

설명

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

예제 구현은 자기 줄무늬 판독기 샘플을 참조하세요.

버전 기록

Windows 버전 SDK 버전 추가된 값
1703 15063 GetDeviceSelector(PosConnectionTypes)

속성

Capabilities

자기 줄무늬 판독기의 기능을 가져옵니다.

DeviceAuthenticationProtocol

자기 스트라이프 판독기에서 지원하는 디바이스 인증 프로토콜입니다.

DeviceId

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

SupportedCardTypes

자기 줄무늬 판독기에서 지원하는 카드 형식을 가져옵니다.

메서드

CheckHealthAsync(UnifiedPosHealthCheckLevel)

자기 줄무늬 판독기의 상태를 테스트합니다.

ClaimReaderAsync()

자기 줄무늬 판독기 전용 액세스를 시도합니다.

Close()

자기 줄무늬 판독기 세션을 닫습니다. C++ 및 JavaScript의 경우 Close()를 사용합니다. C# 및 Visual Basic의 경우 Dispose()를 사용합니다.

Dispose()

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

FromIdAsync(String)

DeviceInformation.IdMagneticStripeReader 개체를 만듭니다.

GetDefaultAsync()

찾은 첫 번째 자기 줄무늬 판독기를 반환합니다.

GetDeviceSelector()

사용 가능한 자기 줄무늬 판독기를 열거하는 데 사용되는 AQS(고급 쿼리 구문) 문자열을 반환합니다.

GetDeviceSelector(PosConnectionTypes)

지정된 연결 형식에서 사용할 수 있는 자기 스트라이프 판독기를 나열하는 데 사용할 수 있는 AQS(고급 쿼리 구문) 문자열을 가져옵니다.

GetErrorReportingType()

애플리케이션에서 수신하려는 오류 보고 유형을 가져옵니다.

RetrieveStatisticsAsync(IIterable<String>)

자기 줄무늬 판독기에서 요청된 통계를 검색합니다.

이벤트

StatusUpdated

디바이스가 변경 상태 작업을 검색할 때 발생합니다.

적용 대상