Example #1
0
 public void PolicyCommandCode(
     TpmHandle policySession,
     TpmCc code
 )
 {
     Tpm2PolicyCommandCodeRequest inS = new Tpm2PolicyCommandCodeRequest();
     inS.policySession = policySession;
     inS.code = code;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyCommandCode, (TpmStructureBase) inS, typeof(Tpm2PolicyCommandCodeResponse), out outSBase, 1, 0);
 }
Example #2
0
 public Tpm2PolicyCommandCodeRequest(Tpm2PolicyCommandCodeRequest the_Tpm2PolicyCommandCodeRequest)
 {
     if((Object) the_Tpm2PolicyCommandCodeRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     policySession = the_Tpm2PolicyCommandCodeRequest.policySession;
     code = the_Tpm2PolicyCommandCodeRequest.code;
 }