Content.ReadAsByteArray

ReadAsByteArray()

Serialize the HTTP content and return a byte array that represents the content.

public byte[] ReadAsByteArray()

Return Value

Serialized byte array that represents the content

See Also


ReadAsByteArray(CancellationToken)

Serialize the HTTP content and return a byte array that represents the content.

public byte[] ReadAsByteArray(CancellationToken cancellationToken)
ParameterTypeDescription
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Serialized byte array that represents the content

See Also