TicketSerializer.Write Method
Writes a data from the specified writer.
Namespace: Microsoft.Owin.Security.DataHandler.Serializer
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
'Declaration
Public Shared Sub Write ( _
writer As BinaryWriter, _
model As AuthenticationTicket _
)
'Usage
Dim writer As BinaryWriter
Dim model As AuthenticationTicket
TicketSerializer.Write(writer, model)
public static void Write(
BinaryWriter writer,
AuthenticationTicket model
)
public:
static void Write(
BinaryWriter^ writer,
AuthenticationTicket^ model
)
static member Write :
writer:BinaryWriter *
model:AuthenticationTicket -> unit
public static function Write(
writer : BinaryWriter,
model : AuthenticationTicket
)
Parameters
- writer
Type: System.IO.BinaryWriter
The writer.
- model
Type: Microsoft.Owin.Security.AuthenticationTicket
The data model.