Tpm2Lib.Tpm2.PolicyCommandCode C# (CSharp) Method

PolicyCommandCode() private method

private PolicyCommandCode ( TpmHandle policySession, TpmCc code ) : void
policySession TpmHandle
code TpmCc
return void
        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);
        }
        /// <summary>

Usage Example

Exemplo n.º 1
0
 internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
 {
     tpm.PolicyCommandCode(sess, AllowedCommand);
     return(tpm._GetLastResponseCode());
 }
All Usage Examples Of Tpm2Lib.Tpm2::PolicyCommandCode
Tpm2