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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.