示例#1
0
 public void PolicyCounterTimer(
     TpmHandle policySession,
     byte[] operandB,
     ushort offset,
     Eo operation
 )
 {
     Tpm2PolicyCounterTimerRequest inS = new Tpm2PolicyCounterTimerRequest();
     inS.policySession = policySession;
     inS.operandB = operandB;
     inS.offset = offset;
     inS.operation = operation;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyCounterTimer, (TpmStructureBase) inS, typeof(Tpm2PolicyCounterTimerResponse), out outSBase, 1, 0);
 }
示例#2
0
 public Tpm2PolicyCounterTimerRequest(Tpm2PolicyCounterTimerRequest the_Tpm2PolicyCounterTimerRequest)
 {
     if((Object) the_Tpm2PolicyCounterTimerRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     policySession = the_Tpm2PolicyCounterTimerRequest.policySession;
     operandB = the_Tpm2PolicyCounterTimerRequest.operandB;
     offset = the_Tpm2PolicyCounterTimerRequest.offset;
     operation = the_Tpm2PolicyCounterTimerRequest.operation;
 }