Share via


SmartCardChallengeContext Class

Definition

Represents a smart card authentication challenge/response operation.

public ref class SmartCardChallengeContext 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 SmartCardChallengeContext 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 SmartCardChallengeContext : System.IDisposable
Public NotInheritable Class SmartCardChallengeContext
Implements IDisposable
Inheritance
Object Platform::Object IInspectable SmartCardChallengeContext
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Challenge

Gets the smart card's challenge value.

Methods

ChangeAdministrativeKeyAsync(IBuffer, IBuffer)

Changes the smart card's admin key (also known as an administrator PIN or unblock PIN).

Close()

Completes the smart card authentication challenge/response operation and frees associated system resources.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ProvisionAsync(IBuffer, Boolean, Guid)

Reconfigures an existing, configured smart card with a new response and ID. Optionally, formats the smart card.

ProvisionAsync(IBuffer, Boolean)

Reconfigures an existing, configured smart card with a new response. Optionally, formats the smart card.

VerifyResponseAsync(IBuffer)

Verifies the response to the smart card challenge request.

Applies to

See also