Skip to content

MediaFileHelpers.EncodeFileAsBase64String method

Encodes a file as a base64 string.

public static string EncodeFileAsBase64String(string path)
parameter description
path file path

Exceptions

exception condition
ArgumentNullException
FileNotFoundException

See Also