@@ -3,12 +3,12 @@ title: Azure confidential ledger client library for .NET
33keywords : Azure, dotnet, SDK, API, Azure.Security.ConfidentialLedger, confidentialledger
44author : christothes
55ms.author : chriss
6- ms.date : 11/ 09/2022
6+ ms.date : 09/12/2023
77ms.topic : reference
88ms.devlang : dotnet
99ms.service : confidentialledger
1010---
11- # Azure confidential ledger client library for .NET - version 1.1 .0
11+ # Azure confidential ledger client library for .NET - version 1.2 .0
1212
1313
1414Azure confidential ledger provides a service for logging to an immutable, tamper-proof ledger. As part of the [ Azure Confidential Computing] [ azure_confidential_computing ]
@@ -133,13 +133,13 @@ ledgerClient.PostLedgerEntry(
133133When no collection id is specified on method calls, the Azure confidential ledger service will assume a constant, service-determined collection id.
134134
135135``` C# Snippet:NoCollectionId
136- Response postResponse = ledgerClient .PostLedgerEntry (
137- waitUntil : WaitUntil .Completed ,
136+ postOperation = ledgerClient .PostLedgerEntry (
137+ waitUntil : WaitUntil .Completed ,
138138 RequestContent .Create (
139139 new { contents = " Hello world!" }));
140140
141141string content = postOperation .GetRawResponse ().Content .ToString ();
142- string transactionId = postOperation .Id ;
142+ transactionId = postOperation .Id ;
143143string collectionId = " subledger:0" ;
144144
145145// Try fetching the ledger entry until it is "loaded".
@@ -191,7 +191,8 @@ ledgerClient.PostLedgerEntry(
191191 waitUntil : WaitUntil .Completed ,
192192 RequestContent .Create (new { contents = " Hello world collection 1" }),
193193 " my collection" );
194- string transactionId = firstPostOperation .Id ;
194+
195+ transactionId = firstPostOperation .Id ;
195196
196197// Wait for the entry to be committed
197198status = " Pending" ;
@@ -350,12 +351,12 @@ We guarantee that all client instance methods are thread-safe and independent of
350351### Additional concepts
351352
352353<!-- CLIENT COMMON BAR -->
353- [ Client options] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions ) |
354- [ Accessing the response] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset ) |
355- [ Long-running operations] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt ) |
356- [ Handling failures] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception ) |
357- [ Diagnostics] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/samples/Diagnostics.md ) |
358- [ Mocking] ( https://github. com/Azure /azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1.0/ sdk/core/Azure.Core/README.md# mocking ) |
354+ [ Client options] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions ) |
355+ [ Accessing the response] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset ) |
356+ [ Long-running operations] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt ) |
357+ [ Handling failures] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception ) |
358+ [ Diagnostics] ( https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/samples/Diagnostics.md ) |
359+ [ Mocking] ( https://learn.microsoft. com/dotnet /azure/ sdk/unit-testing- mocking ) |
359360[ Client lifetime] ( https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/ )
360361<!-- CLIENT COMMON BAR -->
361362
@@ -398,17 +399,17 @@ For more information see the [Code of Conduct FAQ][coc_faq] or contact
398399<!-- LINKS -->
399400[ style-guide-msft ] : /style-guide/capitalization
400401[ style-guide-cloud ] : https://aka.ms/azsdk/cloud-style-guide
401- [ client_src ] : https://github.com/Azure/azure-sdk-for-net/tree/Azure.Security.ConfidentialLedger_1.1 .0/sdk/confidentialledger/Azure.Security.ConfidentialLedger
402+ [ client_src ] : https://github.com/Azure/azure-sdk-for-net/tree/Azure.Security.ConfidentialLedger_1.2 .0/sdk/confidentialledger/Azure.Security.ConfidentialLedger
402403[ client_nuget_package ] : https://www.nuget.org/packages?q=Azure.Security.ConfidentialLedger
403404[ azure_cli ] : /cli/azure
404405[ azure_cloud_shell ] : https://shell.azure.com/bash
405406[ azure_confidential_computing ] : https://azure.microsoft.com/solutions/confidential-compute
406- [ client_construction_sample ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/confidentialledger/Azure.Security.ConfidentialLedger/tests/samples/CertificateServiceSample.md
407+ [ client_construction_sample ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/confidentialledger/Azure.Security.ConfidentialLedger/tests/samples/CertificateServiceSample.md
407408[ azure_sub ] : https://azure.microsoft.com/free/dotnet/
408409[ ccf ] : https://github.com/Microsoft/CCF
409- [ azure_identity ] : https://github.com/Azure/azure-sdk-for-net/tree/Azure.Security.ConfidentialLedger_1.1 .0/sdk/identity/Azure.Identity
410- [ default_cred_ref ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/identity/Azure.Identity/README.md#defaultazurecredential
411- [ logging ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.1 .0/sdk/core/Azure.Core/samples/Diagnostics.md
410+ [ azure_identity ] : https://github.com/Azure/azure-sdk-for-net/tree/Azure.Security.ConfidentialLedger_1.2 .0/sdk/identity/Azure.Identity
411+ [ default_cred_ref ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/identity/Azure.Identity/README.md#defaultazurecredential
412+ [ logging ] : https://github.com/Azure/azure-sdk-for-net/blob/Azure.Security.ConfidentialLedger_1.2 .0/sdk/core/Azure.Core/samples/Diagnostics.md
412413[ coc ] : https://opensource.microsoft.com/codeofconduct/
413414[ coc_faq ] : https://opensource.microsoft.com/codeofconduct/faq
414415[ cla ] : https://cla.microsoft.com
0 commit comments