Exemple #1
0
 public void PolicyRestart(
     TpmHandle sessionHandle
 )
 {
     Tpm2PolicyRestartRequest inS = new Tpm2PolicyRestartRequest();
     inS.sessionHandle = sessionHandle;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyRestart, (TpmStructureBase) inS, typeof(Tpm2PolicyRestartResponse), out outSBase, 1, 0);
 }
Exemple #2
0
 public Tpm2PolicyRestartRequest(Tpm2PolicyRestartRequest the_Tpm2PolicyRestartRequest)
 {
     if((Object) the_Tpm2PolicyRestartRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     sessionHandle = the_Tpm2PolicyRestartRequest.sessionHandle;
 }