MemoryImage.TryParseMime64

MemoryImage.TryParseMime64 method

Tries to parse a Mime64 string to MemoryImage

public static bool TryParseMime64(string mime64content, out MemoryImage image)
ParameterTypeDescription
mime64contentStringThe Mime64 string source.
imageMemoryImage&if decoding succeeds, it will contain the image file.

Return Value

true if decoding succeeded.

Remarks

The string must be haedered with a mime prefix like: “data:image/png;base64,”

See Also