/// <summary> /// Consumer User Agent Information /// </summary> /// <remarks> /// Endpoint used to return the Consumer User Agent Information. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='aPIKey'> /// Client API Key /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task KeyAsync(this IGetSystemUseragentApi operations, string aPIKey, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.KeyWithHttpMessagesAsync(aPIKey, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Consumer User Agent Information /// </summary> /// <remarks> /// Endpoint used to return the Consumer User Agent Information. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='aPIKey'> /// Client API Key /// </param> public static void Key(this IGetSystemUseragentApi operations, string aPIKey) { operations.KeyAsync(aPIKey).GetAwaiter().GetResult(); }