HttpRequestExtensions.GetCorrelationVector(HttpRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Microsoft Correlation Vector (MS-CV) from the request headers, if present. The value is sanitized to prevent log forging attacks by removing newline characters.
public static string? GetCorrelationVector(this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetCorrelationVector : Microsoft.AspNetCore.Http.HttpRequest -> string
<Extension()>
Public Function GetCorrelationVector (request As HttpRequest) As String
Parameters
- request
- HttpRequest