HttpServerUtilityBase.UrlTokenEncode(Byte[]) Method

Definition

When overridden in a derived class, encodes a byte array into an equivalent string representation by using base64 digits, which makes it usable for transmission on the URL.

public virtual string UrlTokenEncode (byte[] input);

Parameters

input
Byte[]

The byte array to encode.

Returns

The string that contains the encoded array if the length of input is greater than 1; otherwise, an empty string ("")

Exceptions

Applies to

Toode Versioonid
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1