Пример #1
0
 public void NvSetBits(
     TpmHandle authHandle,
     TpmHandle nvIndex,
     ulong bits
 )
 {
     Tpm2NvSetBitsRequest inS = new Tpm2NvSetBitsRequest();
     inS.authHandle = authHandle;
     inS.nvIndex = nvIndex;
     inS.bits = bits;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.NvSetBits, (TpmStructureBase) inS, typeof(Tpm2NvSetBitsResponse), out outSBase, 2, 0);
 }
Пример #2
0
 public Tpm2NvSetBitsRequest(Tpm2NvSetBitsRequest the_Tpm2NvSetBitsRequest)
 {
     if((Object) the_Tpm2NvSetBitsRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2NvSetBitsRequest.authHandle;
     nvIndex = the_Tpm2NvSetBitsRequest.nvIndex;
     bits = the_Tpm2NvSetBitsRequest.bits;
 }