The PIN property sets the PIN (Personal Identity Number) as a
string value for activating the services in the GSM Modem or Phone, if the SIM
(Subscriber Identity Module) is PIN protected.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
If the SIM is protected by PIN, then PIN will be required to be provided before reading any property or executing any method that requires network registration (e.g. Network property, SignalStrength property, SMSC property, SendSMS method etc.)
Providing a value for the PIN property does not necessarily mean that it will be used by mCore™. The PIN is sent to the modem if and only if the modem is detected to be in SIM PIN mode (i.e. waiting for PIN mode).
| Visual Basic |
Public Class MyClass Dim strMsg As String
Catch ex As mCore.GeneralException |
| C# |
class MyClass SetCommParameters(); catch
(mCore.GeneralException e) catch
(mCore.GeneralException e) |
mCore.SMS.Network Property
mCore.SMS.DisableCheckPIN Property
mCore.SMS.DelayAfterPIN Property