Click or drag to resize
XmlHelperWriteFileAsBase64 Method
Writes the given physical file to the XML as Base64.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static long WriteFileAsBase64(
	XmlWriter xml,
	string filePath
)

Parameters

xml
Type: System.XmlXmlWriter
Xml writer
filePath
Type: SystemString
File path

Return Value

Type: Int64
Returns the file size
See Also