Is there any tryparse for Convert.FromBase64String
or we just count the character if it is equal 64 character or not.
I copy a encryption and decryption class, but there is an error on the following line. I want to check whether or not the cipherText
can be converted without error
byte[] bytes = Convert.FromBase64String(cipherText);