Inheritance: TpmStructureBase
Esempio n. 1
0
 public NvPublic NvReadPublic(
     TpmHandle nvIndex,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out byte[] nvName
 )
 {
     Tpm2NvReadPublicRequest inS = new Tpm2NvReadPublicRequest();
     inS.nvIndex = nvIndex;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.NvReadPublic, (TpmStructureBase) inS, typeof(Tpm2NvReadPublicResponse), out outSBase, 1, 0);
     Tpm2NvReadPublicResponse outS = (Tpm2NvReadPublicResponse) outSBase;
     nvName = outS.nvName;
     return outS.nvPublic;
 }
Esempio n. 2
0
 public Tpm2NvReadPublicRequest(Tpm2NvReadPublicRequest the_Tpm2NvReadPublicRequest)
 {
     if((Object) the_Tpm2NvReadPublicRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     nvIndex = the_Tpm2NvReadPublicRequest.nvIndex;
 }