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