public void PolicyDuplicationSelect( TpmHandle policySession, byte[] objectName, byte[] newParentName, byte includeObject ) { Tpm2PolicyDuplicationSelectRequest inS = new Tpm2PolicyDuplicationSelectRequest(); inS.policySession = policySession; inS.objectName = objectName; inS.newParentName = newParentName; inS.includeObject = includeObject; TpmStructureBase outSBase; DispatchMethod(TpmCc.PolicyDuplicationSelect, (TpmStructureBase) inS, typeof(Tpm2PolicyDuplicationSelectResponse), out outSBase, 1, 0); }
public Tpm2PolicyDuplicationSelectRequest(Tpm2PolicyDuplicationSelectRequest the_Tpm2PolicyDuplicationSelectRequest) { if((Object) the_Tpm2PolicyDuplicationSelectRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); policySession = the_Tpm2PolicyDuplicationSelectRequest.policySession; objectName = the_Tpm2PolicyDuplicationSelectRequest.objectName; newParentName = the_Tpm2PolicyDuplicationSelectRequest.newParentName; includeObject = the_Tpm2PolicyDuplicationSelectRequest.includeObject; }