From c058b0c14001f59d0af14ade256ed932b56e7ced Mon Sep 17 00:00:00 2001 From: Lawrence Angrave <4468456+angrave@users.noreply.github.com> Date: Thu, 18 Jan 2024 17:45:14 -0600 Subject: [PATCH 1/2] Update Program.cs --- TestAzureCognitiveServices/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestAzureCognitiveServices/Program.cs b/TestAzureCognitiveServices/Program.cs index ba74073..1a3606a 100644 --- a/TestAzureCognitiveServices/Program.cs +++ b/TestAzureCognitiveServices/Program.cs @@ -143,7 +143,7 @@ static void Main(string[] args) } async static Task useAzureTranslationAsync() { - var defaultKeys = "996885bc424b4fda9df983c404e7309c,westus"; + var defaultKeys = "916885bc424b4fda9df983c404e7309c,westus"; Console.WriteLine($"Environment variable AZURE_SUBSCRIPTION_KEYS=key,region;..."); var keys = System.Environment.GetEnvironmentVariable("AZURE_SUBSCRIPTION_KEYS") ?? defaultKeys; From 284c1a45c561e5585e987714994ed95a401fccbf Mon Sep 17 00:00:00 2001 From: Lawrence Angrave <4468456+angrave@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:58:05 -0600 Subject: [PATCH 2/2] Update Program.cs --- TestAzureCognitiveServices/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestAzureCognitiveServices/Program.cs b/TestAzureCognitiveServices/Program.cs index 1a3606a..94cbb50 100644 --- a/TestAzureCognitiveServices/Program.cs +++ b/TestAzureCognitiveServices/Program.cs @@ -143,7 +143,7 @@ static void Main(string[] args) } async static Task useAzureTranslationAsync() { - var defaultKeys = "916885bc424b4fda9df983c404e7309c,westus"; + var defaultKeys = "123,westus"; Console.WriteLine($"Environment variable AZURE_SUBSCRIPTION_KEYS=key,region;..."); var keys = System.Environment.GetEnvironmentVariable("AZURE_SUBSCRIPTION_KEYS") ?? defaultKeys;