Share via


HttpServerUtilityWrapper.UrlTokenEncode(Byte[]) メソッド

定義

Base64 形式の文字を使用して、バイト配列を等価の文字列表現にエンコードします。この文字列表現を 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

パラメーター

input
Byte[]

エンコードするバイト配列。

戻り値

String

input の長さが 1 より大きい場合、エンコードされた配列を含む文字列。そうでない場合は、空の文字列 ("")。

例外

input パラメーターの値が null です。

適用対象