Exemple #1
0
 public void ClockRateAdjust(
     TpmHandle auth,
     ClockAdjust rateAdjust
 )
 {
     Tpm2ClockRateAdjustRequest inS = new Tpm2ClockRateAdjustRequest();
     inS.auth = auth;
     inS.rateAdjust = rateAdjust;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ClockRateAdjust, (TpmStructureBase) inS, typeof(Tpm2ClockRateAdjustResponse), out outSBase, 1, 0);
 }
Exemple #2
0
 public Tpm2ClockRateAdjustRequest(Tpm2ClockRateAdjustRequest the_Tpm2ClockRateAdjustRequest)
 {
     if((Object) the_Tpm2ClockRateAdjustRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     auth = the_Tpm2ClockRateAdjustRequest.auth;
     rateAdjust = the_Tpm2ClockRateAdjustRequest.rateAdjust;
 }