GzipArchive.Extract

GzipArchive.Extract method

제공된 스트림에 아카이브를 추출합니다.

public void Extract(Stream destination)
모수유형설명
destinationStream대상 스트림. 쓰기 가능해야 합니다.

예외

예외상태
ArgumentExceptiondestination 쓰기를 지원하지 않습니다.

using (var archive = new GzipArchive("archive.gz"))
{
     archive.Extract(httpResponseStream);
}

또한보십시오