public void ClockSet( TpmHandle auth, ulong newTime ) { Tpm2ClockSetRequest inS = new Tpm2ClockSetRequest(); inS.auth = auth; inS.newTime = newTime; TpmStructureBase outSBase; DispatchMethod(TpmCc.ClockSet, (TpmStructureBase) inS, typeof(Tpm2ClockSetResponse), out outSBase, 1, 0); }
public Tpm2ClockSetRequest(Tpm2ClockSetRequest the_Tpm2ClockSetRequest) { if((Object) the_Tpm2ClockSetRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); auth = the_Tpm2ClockSetRequest.auth; newTime = the_Tpm2ClockSetRequest.newTime; }