Click or drag to resize
AttachmentInfoProviderGetUniqueTemporaryAttachmentFileNameInternal Method
Method gets unique temporary attachment file name in the form scope.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
protected virtual string GetUniqueTemporaryAttachmentFileNameInternal(
	Guid formGuid,
	string fileName,
	int currentAttachmentId,
	int siteId
)

Parameters

formGuid
Type: SystemGuid
GUID of the form
fileName
Type: SystemString
Name of file
currentAttachmentId
Type: SystemInt32
Current attachment ID
siteId
Type: SystemInt32
Site ID

Return Value

Type: String
Unique attachment name
See Also