Click or drag to resize
ForumAttachmentInfoProviderSaveAttachmentFileToDisk Method
Saves attachment file to the disk.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 11.0.0
Syntax
C#
public static string SaveAttachmentFileToDisk(
	string siteName,
	string guid,
	string fileName,
	string fileExtension,
	BinaryData fileData,
	bool synchronization
)

Parameters

siteName
Type: SystemString
Attachment site name
guid
Type: SystemString
File GUID
fileName
Type: SystemString
File name
fileExtension
Type: SystemString
File extension
fileData
Type: CMS.CoreBinaryData
File data (byte[] or Stream)
synchronization
Type: SystemBoolean
Indicates if this function is called from "ProcessTask"

Return Value

Type: String
See Also