Share via


Base64Decode(string) function

 
Communications Server 2007 Server SDK Documentation

Base64Decode

The Base64Decode function decodes a base64 string.

string Base64Decode(
  string encodedString
);

Parameters

  • encodedString
    A string that is base64 encoded according to RFC 4648.

Return Values

Returns the string version of the base64 string that is passed as a parameter. Returns null if the value of encodedString is not a valid base64-encoded string.

Example Code

The following example returns the string "Office Communications Server 2007".

Base64Decode("T2ZmaWNlIENvbW11bmljYXRpb25zIFNlcnZlciAyMDA3")
  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.