Click or drag to resize
AttachmentURLProviderGetPermanentAttachmentUrlInternal Method
Returns attachment permanent URL.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
protected virtual string GetPermanentAttachmentUrlInternal(
	Guid nodeGuid,
	string safeFileName,
	string extension,
	string variant
)

Parameters

nodeGuid
Type: SystemGuid
Node GUID.
safeFileName
Type: SystemString
Attachment safe file name. Use GetSafeFileName(String, String) method to get file name in format suitable for URL.
extension
Type: SystemString
File extension. If not provided, default friendly extension is used from global settings.
variant
Type: SystemString
Identifier of the attachment variant.

Return Value

Type: String
See Also