JwtHeader.Encode Method

Encodes this instance as a [Base64UrlEncoded] string.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public Function Encode As String
public string Encode()
public:
String^ Encode()
member Encode : unit -> string
public function Encode() : String

Return Value

Type: System.String
Returns String.

Remarks

Returns the current state. If this instance has changed since the last call, the value will be different.

.NET Framework Security

See Also

Reference

JwtHeader Class

System.IdentityModel.Tokens Namespace