function-templates icon indicating copy to clipboard operation
function-templates copied to clipboard

// Install the C# / .NET helper library from twilio.com/docs/csharp/install using System; using Twilio; using Twilio.Rest.Verify.V2.Service; class Program { static void Main(string[] args) { // Find your Account SID and Auth Token at twilio.com/console // and set the environment variables. See http://twil.io/secure string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID"); string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN"); TwilioClient.Init(accountSid, authToken); var verification = VerificationResource.Create( to: "+15017122661", channel: "sms", pathServiceSid: "VAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ); Console.WriteLine(verification.Status); } }

Open ESTHERTERSEN opened this issue 1 year ago • 1 comments

// Install the C# / .NET helper library from twilio.com/docs/csharp/install

using System; using Twilio; using Twilio.Rest.Verify.V2;

class Program { static void Main(string[] args) { // Find your Account SID and Auth Token at twilio.com/console // and set the environment variables. See http://twil.io/secure string accountSid = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID"); string authToken = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");

    TwilioClient.Init(accountSid, authToken);

    var service = ServiceResource.Create(friendlyName: "My First Verify Service");

    Console.WriteLine(service.Sid);
}

}

ESTHERTERSEN avatar May 22 '23 13:05 ESTHERTERSEN

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)

picture of dog

welcome[bot] avatar May 22 '23 13:05 welcome[bot]