Method HasUnusedBitsSet(string)
Whether the last character of value carries non-zero unused bits: the spelling XML Schema
base64Binary and .NET 11 refuse. It says nothing else about whether the value is base64.
public static bool HasUnusedBitsSet(string value)