/// <summary> /// Verify whether two faces belong to a same person or whether one face /// belongs to a person. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='faceId1'> /// FaceId of the first face, comes from Face - Detect /// </param> /// <param name='faceId2'> /// FaceId of the second face, comes from Face - Detect /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <VerifyResult> VerifyFaceToFaceAsync(this IFaceOperations operations, System.Guid faceId1, System.Guid faceId2, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.VerifyFaceToFaceWithHttpMessagesAsync(faceId1, faceId2, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }