Skip to content

Commit 1ec4992

Browse files
author
PRMerger6
authored
Merge pull request #42491 from Juliako/patch-11
Update analyze-videos-tutorial-with-api.md
2 parents e3d019f + 6ae4925 commit 1ec4992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/media-services/latest/analyze-videos-tutorial-with-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The sample performs the following actions:
6767

6868
### Start using Media Services APIs with .NET SDK
6969

70-
To start using Media Services APIs with .NET, you need to create an **AzureMediaServicesClient** object. To create the object, you need to supply credentials needed for the client to connect to Azure using Azure AD. You first need to get a token and then create a **ClientCredential** object from the returned token. In the code you cloned at the beginning of the article, the **ArmClientCredential** object is used to get the token.
70+
To start using Media Services APIs with .NET, you need to create an **AzureMediaServicesClient** object. To create the object, you need to supply credentials needed for the client to connect to Azure using Azure AD. In the code you cloned at the beginning of the article, the **GetCredentialsAsync** function creates the ServiceClientCredentials object based on the credentials supplied in local configuration file.
7171

7272
[!code-csharp[Main](../../../media-services-v3-dotnet-tutorials/AMSV3Tutorials/AnalyzeVideos/Program.cs#CreateMediaServicesClient)]
7373

0 commit comments

Comments
 (0)