0

My question is quite similar with this one. But it is php to silverlight.

my php code (server encode):

$str = 'This is the string';
$encoded = base64_encode($str);

How could I achieved the decoded string in Silverlight 2?

Community
  • 1
  • 1
Anwar Chandra
  • 8,538
  • 9
  • 45
  • 61

1 Answers1

1

The question has actually nothing to do with PHP, just about decoding base64 strings in Silverlight - which, if a quick Google search is to be believed, happens like this:

byte[] content = System.Convert.FromBase64String(base64string);
pilsetnieks
  • 10,330
  • 12
  • 48
  • 60