Hello everybody!
I have a string in base64, that I have to convert in a byte array. To do this, I use Frombase64string. But it give me an error about the wrong lenght of the string, that isn't a multiple of 4.
So I add to the string a simbol ( =) to get the correct lenght. But I have to add 3 character. I see that i can use only 2 = as padding character.
How can i do?
Thanks
I have a string in base64, that I have to convert in a byte array. To do this, I use Frombase64string. But it give me an error about the wrong lenght of the string, that isn't a multiple of 4.
So I add to the string a simbol ( =) to get the correct lenght. But I have to add 3 character. I see that i can use only 2 = as padding character.
How can i do?
Thanks
Last edited: