public static String Sendsms(string Msisdn, string body) { try { SMS_SEND abc = new SMS_SEND(); string outresult = ""; // Msisdn = Msisdn.Replace("92","0").Replace("+",""); // abc.ConnectionGroupName = "my con"; System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return(true); }; string result = abc.SendSms("3737", Msisdn, body, "UBANK_SMS", "ufone@2288", out outresult); return(result); } catch (Exception ex) { return(ex.ToString()); } }