Table of Contents

IsBase64 Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/StringExtensions.cs

IsBase64(string)

Determines whether the specified value matches a Base64 structure.

public static bool IsBase64(this string value)

Parameters

value string

The string to extend.

Returns

bool

true if the specified value matches a Base64 structure; otherwise, false.

Remarks

This method will skip common Base64 structures typically used as checksums. This includes 32, 128, 160, 256, 384 and 512 bit checksums.