The OwnNumber property gets the MSISDN number of the SIM used in the GSM
modem or phone as a string value. If the modem does not support reading of MSISDN from the SIM
then reading OwnNumber property will throw a exception.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
| Visual Basic |
| Public Class MyClass Public WithEvents objSMS As New mCore.SMS Public Sub ModemInformation() Try SetCommParameters()
' It is not necessary to execute the 'Connect' method. |
| C# |
| class MyClass { public mCore.SMS objSMS = new mCore.SMS(); public static void ModemInformation() { try { SetCommParameters();
// It is not necessary to execute the 'Connect' method. catch
(mCore.GeneralException e) catch
(mCore.GeneralException e) |
mCore.SMS.Manufacturer Property
mCore.SMS.Model Property
mCore.SMS.IMEI Property
mCore.SMS.Revision Property
mCore.SMS.BatteryLevel Property
mCore.SMS.IMSI Property