public RpcAuthentication(RpcCredentials credential) { _flavour = credential.AuthFlavour; MemoryStream ms = new MemoryStream(); XdrDataWriter writer = new XdrDataWriter(ms); credential.Write(writer); _body = ms.ToArray(); }
public RpcAuthentication(RpcCredentials credential) { _flavour = credential.AuthFlavour; MemoryStream ms = new MemoryStream(); XdrDataWriter writer = new XdrDataWriter(ms); credential.Write(writer); _body = ms.ToArray(); }
public RpcAuthentication(XdrDataReader reader) { _flavour = (RpcAuthFlavour)reader.ReadInt32(); _body = reader.ReadBuffer(400); }
public RpcAuthentication(XdrDataReader reader) { _flavour = (RpcAuthFlavour)reader.ReadInt32(); _body = reader.ReadBuffer(400); }