Inheritance: TpmStructureBase
Exemple #1
0
 public void NvWrite(
     TpmHandle authHandle,
     TpmHandle nvIndex,
     byte[] data,
     ushort offset
 )
 {
     Tpm2NvWriteRequest inS = new Tpm2NvWriteRequest();
     inS.authHandle = authHandle;
     inS.nvIndex = nvIndex;
     inS.data = data;
     inS.offset = offset;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.NvWrite, (TpmStructureBase) inS, typeof(Tpm2NvWriteResponse), out outSBase, 2, 0);
 }
Exemple #2
0
 public Tpm2NvWriteRequest(Tpm2NvWriteRequest the_Tpm2NvWriteRequest)
 {
     if((Object) the_Tpm2NvWriteRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2NvWriteRequest.authHandle;
     nvIndex = the_Tpm2NvWriteRequest.nvIndex;
     data = the_Tpm2NvWriteRequest.data;
     offset = the_Tpm2NvWriteRequest.offset;
 }