GzipArchive.Extract

GzipArchive.Extract method

提供されたストリームにアーカイブを抽出します。

public void Extract(Stream destination)
パラメータタイプ説明
destinationStream宛先ストリーム。書き込み可能である必要があります。

例外

例外調子
ArgumentExceptiondestination書き込みをサポートしていません。

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

関連項目