HttpRequestMultipartExtensions.GetMultipartBoundary(HttpRequest) Method

Definition

Gets the multipart boundary from the Content-Type header.

C#
public static string GetMultipartBoundary (this Microsoft.AspNetCore.Http.HttpRequest request);

Parameters

request
HttpRequest

The HttpRequest.

Returns

The multipart boundary.

Applies to

Product Versies
ASP.NET Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0