HttpServerUtilityBase.UrlTokenEncode(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System::String ^ UrlTokenEncode(cli::array <System::Byte> ^ input);
public virtual string UrlTokenEncode (byte[] input);
abstract member UrlTokenEncode : byte[] -> string
override this.UrlTokenEncode : byte[] -> string
Public Overridable Function UrlTokenEncode (input As Byte()) As String
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
Always.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.