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 request = new ConferenceListRequest(); var conferences = twilio.ListConferences(request); foreach (var conference in conferences.Conferences) { Console.WriteLine(conference.Status); } }
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 request = new ConferenceListRequest(); request.Status = "in-progress"; request.DateCreatedComparison = ComparisonType.GreaterThanOrEqualTo; request.DateCreated = new DateTime(2009, 07, 06); var conferences = twilio.ListConferences(request); foreach (var conference in conferences.Conferences) { Console.WriteLine(conference.Status); } }