Ejemplo n.º 1
0
 /// <summary>
 /// Update the encryption.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateEncryptionAsync(this ICommerceAdminClient operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateEncryptionWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Update the encryption.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void UpdateEncryption(this ICommerceAdminClient operations)
 {
     operations.UpdateEncryptionAsync().GetAwaiter().GetResult();
 }