Inheritance: TpmStructureBase
Ejemplo n.º 1
0
 public byte[] FirmwareRead(
     uint sequenceNumber
 )
 {
     Tpm2FirmwareReadRequest inS = new Tpm2FirmwareReadRequest();
     inS.sequenceNumber = sequenceNumber;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.FirmwareRead, (TpmStructureBase) inS, typeof(Tpm2FirmwareReadResponse), out outSBase, 0, 0);
     Tpm2FirmwareReadResponse outS = (Tpm2FirmwareReadResponse) outSBase;
     return outS.fuData;
 }
Ejemplo n.º 2
0
 public Tpm2FirmwareReadRequest(Tpm2FirmwareReadRequest the_Tpm2FirmwareReadRequest)
 {
     if((Object) the_Tpm2FirmwareReadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     sequenceNumber = the_Tpm2FirmwareReadRequest.sequenceNumber;
 }