IFormFile 인터페이스

정의

HttpRequest를 사용하여 보낸 파일을 나타냅니다.

public interface class IFormFile
public interface IFormFile
type IFormFile = interface
Public Interface IFormFile
파생

속성

ContentDisposition

업로드된 파일의 원시 Content-Disposition 헤더를 가져옵니다.

ContentType

업로드된 파일의 원시 Content-Type 헤더를 가져옵니다.

FileName

Content-Disposition 헤더에서 파일 이름을 가져옵니다.

Headers

업로드된 파일의 헤더 사전을 가져옵니다.

Length

파일 길이(바이트)를 가져옵니다.

Name

Content-Disposition 헤더에서 양식 필드 이름을 가져옵니다.

메서드

CopyTo(Stream)

업로드된 파일의 내용을 스트림에 복사합니다 target .

CopyToAsync(Stream, CancellationToken)

업로드된 파일 target 의 내용을 스트림에 비동기적으로 복사합니다.

OpenReadStream()

업로드된 파일을 읽기 위한 요청 스트림을 엽니다.

적용 대상