HttpServerUtility.UrlTokenDecode Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
Decodes a URL string token to its equivalent byte array using base 64 digits.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Shared Function UrlTokenDecode ( _ input As String _ ) As Byte() 'Usage Dim input As String Dim returnValue As Byte() returnValue = HttpServerUtility.UrlTokenDecode(input)
public static byte[] UrlTokenDecode ( String input )
public static function UrlTokenDecode ( input : String ) : byte[]
Parameters
- input
The URL string token to decode.
Return Value
The byte array containing the decoded URL string token.The UrlTokenDecode method converts a URL string token, which encodes binary data as base 64 digits, to its equivalent byte array representation. Use the UrlTokenDecode method to decode tokens transmitted on the URL and encoded using the UrlTokenEncode.
The UrlTokenDecode method will return an empty byte array if the input string token has a length of less than one.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: