MultiPartFormDataContentExtensions.

AddIfNotEmpty(MultipartFormDataContent, string, string, Stream) Method

Syntax

public static void AddIfNotEmpty(this MultipartFormDataContent content, string name, string fileName, Stream stream)

Parameters

Name Type Description
content MultipartFormDataContent
name string
fileName string
stream Stream

Return Value

Type Description
void