HttpServerUtility.UrlTokenDecode(String) Metodo

Definizione

Decodifica un token di stringa URL nella matrice di byte equivalente usando cifre base 64.

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()

Parametri

input
String

Token stringa URL da decodificare.

Valori restituiti

Byte[]

Matrice di byte contenente il token di stringa URL decodificato.

Eccezioni

Il valore del input parametro è null.

Commenti

Il UrlTokenDecode metodo converte un token di stringa URL, che codifica i dati binari come cifre di base 64, nella rappresentazione di matrice di byte equivalente. Usare il UrlTokenDecode metodo per decodificare i token trasmessi sull'URL e codificati usando .UrlTokenEncode

Il UrlTokenDecode metodo restituirà una matrice di byte vuota se il input parametro ha una lunghezza minore di uno.

Si applica a

Vedi anche