ContentHelperAddFileName Method DocuWare Platform .NET API
Adds the name of the file.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax

C#
public static HttpContent AddFileName(
	this HttpContent content,
	string name,
	string fileName
)

Parameters

content
Type: System.Net.HttpHttpContent
The content.
name
Type: SystemString
The name.
fileName
Type: SystemString
Name of the file.

Return Value

Type: HttpContent

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpContent. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference