HttpServerUtilityWrapper.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.
Encodes a byte array into an equivalent string representation by using base64 digits, which makes it usable for transmission on the URL.
public:
override System::String ^ UrlTokenEncode(cli::array <System::Byte> ^ input);
public override string UrlTokenEncode (byte[] input);
override this.UrlTokenEncode : byte[] -> string
Public Overrides 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
The value of the input
parameter is null
.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈