static void Main(string[] args)
    {
        // Find your Account Sid and Auth Token at twilio.com/user/account
        string AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
        string AuthToken = "your_auth_token";
        var twilio = new TwilioRestClient(AccountSid, AuthToken);

        var app = twilio.GetAddress("AD2a0747eba6abf96b7e3c3ff0b4530f6e");

        Console.WriteLine(app.CustomerName);
    }
Пример #2
0
 public ActionResult Edit(string idCustomer)
 {
     var twilio = new TwilioRestClient(AccountSid, AuthToken);
       var Address = twilio.GetAddress(idCustomer);
       return View(Address);
 }