Skip to content

Commit e3d019f

Browse files
authored
Merge pull request #42492 from Juliako/patch-17
Update stream-files-tutorial-with-api.md
2 parents a997b3f + eeab562 commit e3d019f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/media-services/latest/stream-files-tutorial-with-api.md

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

7373
### Start using Media Services APIs with .NET SDK
7474

75-
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.
75+
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.
7676

7777
[!code-csharp[Main](../../../media-services-v3-dotnet-tutorials/AMSV3Tutorials/UploadEncodeAndStreamFiles/Program.cs#CreateMediaServicesClient)]
7878

0 commit comments

Comments
 (0)