public void CreateKey() { // Create a key pair. try { var voximplant = new VoximplantAPI(); var result = voximplant.CreateKey().Result; Console.WriteLine($"Response: {result.ToString()}"); } catch (Exception e) { Console.WriteLine($"Error: {e.Message}"); } }