Dela via


MobileBroadbandPin.UnblockAsync(String, String) Method

Definition

Starts an asynchronous operation to unblock a previously-blocked mobile broadband PIN using a PIN unlock key (PUK).

public:
 virtual IAsyncOperation<MobileBroadbandPinOperationResult ^> ^ UnblockAsync(Platform::String ^ pinUnblockKey, Platform::String ^ newPin) = UnblockAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MobileBroadbandPinOperationResult> UnblockAsync(winrt::hstring const& pinUnblockKey, winrt::hstring const& newPin);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MobileBroadbandPinOperationResult> UnblockAsync(string pinUnblockKey, string newPin);
function unblockAsync(pinUnblockKey, newPin)
Public Function UnblockAsync (pinUnblockKey As String, newPin As String) As IAsyncOperation(Of MobileBroadbandPinOperationResult)

Parameters

pinUnblockKey
String

Platform::String

winrt::hstring

The PIN unblock key.

newPin
String

Platform::String

winrt::hstring

The new mobile broadband PIN.

Returns

An asynchronous operation that returns the result.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

A PIN unlock key is a code used to reset a PIN that may have been blocked due to too many attempts to unlock it. PUK1 and PUK2 are used to reset PIN1 and PIN2 respectively.

Applies to