public void <pre lang="cs">objSMS_NewUSSDReceived(object sender, mCore.NewUSSDReceivedEventArgs e) { string message = e.Message.ToString(); string status = e.Status.ToString(); if (message.Contains("Welcome user")) { //MY FUNCTION TO CALL } else { //problem with ussd } } When the service starts on debug,i call the function below which has the ussd request.However it does not trigger any event public void Test() { bool result = objSMS.SendUSSD("*1234#"); if (result) { //it lands in this code below but nothen happens.The event "objSMS_NewUSSDReceived" is not triggered objSMS.NewUSSDReceived +=objSMS_NewUSSDReceived; objSMS.NewUSSDIndication = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)