HttpServerUtility.UrlTokenDecode(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用 base 64 数字将 URL 字符串令牌解码为其等效的字节数组。
public:
static cli::array <System::Byte> ^ UrlTokenDecode(System::String ^ input);
public static byte[] UrlTokenDecode(string input);
static member UrlTokenDecode : string -> byte[]
Public Shared Function UrlTokenDecode (input As String) As Byte()
参数
- input
- String
要解码的 URL 字符串令牌。
返回
Byte[]
包含解码的 URL 字符串令牌的字节数组。
例外
参数的值 input 为 null.
注解
该方法 UrlTokenDecode 将 URL 字符串令牌(将二进制数据编码为 base 64 数字)转换为其等效的字节数组表示形式。 使用此方法
如果参数的长度小于 1,input该方法UrlTokenDecode将返回一个空字节数组。