Inheritance: TpmStructureBase
Esempio n. 1
0
 public Context ContextSave(
     TpmHandle saveHandle
 )
 {
     Tpm2ContextSaveRequest inS = new Tpm2ContextSaveRequest();
     inS.saveHandle = saveHandle;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ContextSave, (TpmStructureBase) inS, typeof(Tpm2ContextSaveResponse), out outSBase, 1, 0);
     Tpm2ContextSaveResponse outS = (Tpm2ContextSaveResponse) outSBase;
     return outS.context;
 }
Esempio n. 2
0
 public Tpm2ContextSaveRequest(Tpm2ContextSaveRequest the_Tpm2ContextSaveRequest)
 {
     if((Object) the_Tpm2ContextSaveRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     saveHandle = the_Tpm2ContextSaveRequest.saveHandle;
 }