SendFileFallback Class

Definition

Helper type that allows copying a file to a Stream.

This type is part of ASP.NET Core's infrastructure and should not used by application code.

C#
public static class SendFileFallback
Inheritance
SendFileFallback

Methods

SendFileAsync(Stream, String, Int64, Nullable<Int64>, CancellationToken)

Copies the segment of the file to the destination stream.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0