send_pin_sync


Description:

[ Version ( since = "1.0" ) ]
public bool send_pin_sync (string pin, Cancellable? cancellable = null) throws Error

Synchronously sends the PIN to the SIM card.

The calling thread is blocked until a reply is received. See send_pin for the asynchronous version of this method.

Parameters:

this

A Sim.

pin

The PIN code.

cancellable

A Cancellable or null.

Returns:

true if the operation succeeded, false if error is set.