public void PolicyNV( TpmHandle authHandle, TpmHandle nvIndex, TpmHandle policySession, byte[] operandB, ushort offset, Eo operation ) { Tpm2PolicyNVRequest inS = new Tpm2PolicyNVRequest(); inS.authHandle = authHandle; inS.nvIndex = nvIndex; inS.policySession = policySession; inS.operandB = operandB; inS.offset = offset; inS.operation = operation; TpmStructureBase outSBase; DispatchMethod(TpmCc.PolicyNV, (TpmStructureBase) inS, typeof(Tpm2PolicyNVResponse), out outSBase, 3, 0); }
public Tpm2PolicyNVRequest(Tpm2PolicyNVRequest the_Tpm2PolicyNVRequest) { if((Object) the_Tpm2PolicyNVRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); authHandle = the_Tpm2PolicyNVRequest.authHandle; nvIndex = the_Tpm2PolicyNVRequest.nvIndex; policySession = the_Tpm2PolicyNVRequest.policySession; operandB = the_Tpm2PolicyNVRequest.operandB; offset = the_Tpm2PolicyNVRequest.offset; operation = the_Tpm2PolicyNVRequest.operation; }