public void Write(XdrDataWriter writer) { Verifier.Write(writer); writer.Write((int)AcceptStatus); if (AcceptStatus == RpcAcceptStatus.ProgramVersionMismatch) { MismatchInfo.Write(writer); } }
public void Write(XdrDataWriter writer) { writer.Write((int)Status); if (Status == RpcRejectedStatus.RpcMismatch) { MismatchInfo.Write(writer); } else { writer.Write((int)AuthenticationStatus); } }