The BatteryLevel property gets a integer value indicating the battery charge level remaining
as
percentage.
Returns the value -1 if there is no battery detected or if there is a power
fault.
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.OwnNumber Property
mCore.SMS.IMSI Property