TryComputeLength()

HttpContent::TryComputeLength(int64_t&) method

Tries to calculate the content size.

virtual bool System::Net::Http::HttpContent::TryComputeLength(int64_t &length)=0

Arguments

ParameterTypeDescription
lengthint64_t&The output parameter where the calculated size will be assigned.

Return Value

True when the size is successfully updated, otherwise false.

See Also