public void PolicyPhysicalPresence( TpmHandle policySession ) { Tpm2PolicyPhysicalPresenceRequest inS = new Tpm2PolicyPhysicalPresenceRequest(); inS.policySession = policySession; TpmStructureBase outSBase; DispatchMethod(TpmCc.PolicyPhysicalPresence, (TpmStructureBase) inS, typeof(Tpm2PolicyPhysicalPresenceResponse), out outSBase, 1, 0); }
public Tpm2PolicyPhysicalPresenceRequest(Tpm2PolicyPhysicalPresenceRequest the_Tpm2PolicyPhysicalPresenceRequest) { if((Object) the_Tpm2PolicyPhysicalPresenceRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); policySession = the_Tpm2PolicyPhysicalPresenceRequest.policySession; }