public void test_hlr() { try { var hlrApi = new SMSApi.Api.HLRFactory(client()); var hlrs = hlrApi.ActionCheckNumber("xxxyyyzzz").Execute(); foreach (var nrinfo in hlrs.List) { System.Console.WriteLine("ID: " + nrinfo.ID + " Number: " + nrinfo.Number + " Status: " + nrinfo.Status + " " + nrinfo.Info); } } catch (SMSApi.Api.ClientException e) { System.Console.WriteLine(e.Message); } }
public void test_hlr() { try { var hlrApi = new SMSApi.Api.HLRFactory(client()); var hlrs = hlrApi.ActionCheckNumber("xxxyyyzzz").Execute(); foreach (var nrinfo in hlrs.List) { System.Console.WriteLine("ID: " + nrinfo.ID + " Number: " + nrinfo.Number + " Status: " + nrinfo.Status + " " + nrinfo.Info); } } catch (SMSApi.Api.ClientException e) { System.Console.WriteLine(e.Message); } }