Ejemplo n.º 1
0
 public void PolicyLocality(
     TpmHandle policySession,
     LocalityAttr locality
 )
 {
     Tpm2PolicyLocalityRequest inS = new Tpm2PolicyLocalityRequest();
     inS.policySession = policySession;
     inS.locality = locality;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyLocality, (TpmStructureBase) inS, typeof(Tpm2PolicyLocalityResponse), out outSBase, 1, 0);
 }
Ejemplo n.º 2
0
 public Tpm2PolicyLocalityRequest(Tpm2PolicyLocalityRequest the_Tpm2PolicyLocalityRequest)
 {
     if((Object) the_Tpm2PolicyLocalityRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     policySession = the_Tpm2PolicyLocalityRequest.policySession;
     locality = the_Tpm2PolicyLocalityRequest.locality;
 }