Se passate in QueryString dati codificati Base64...

...ricordatevi di scrivere, prima della decodifica

string goodBase64string = base64FromQueryString.Replace(" ", "+");

altrimenti potreste ritrovarvi una bella FormatException per "Invalid length for a Base-64 char array".

HTH

 

Technorati tags:
One Comment Filed Under [ ASP.NET 2.0 ]

Comments

# re: Se passate in QueryString dati codificati Base64...
Gravatar Infatti... mi è capitato proprio ieri :)
Mi ha fatto imprecare non poco questa Exception!!!
Ciao
Left by Dario Santarelli on 30/04/2007 14.13

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Url
Comment*

Please add 6 and 2 and type the answer here:

Preview Your Comment.