Method SetContentLength
SetContentLength(long)
Sets the Content-Length header of this response stream. If this response stream is using chunked transfer encoding, this method will do nothing.
public void SetContentLength(long contentLength)
Parameters
contentLength
longThe length in bytes of the content stream.