Inheritance: TpmStructureBase
コード例 #1
0
ファイル: X_TpmDefs.cs プロジェクト: vishalishere/TSS.MSR
 public void Shutdown(
     Su shutdownType
 )
 {
     Tpm2ShutdownRequest inS = new Tpm2ShutdownRequest();
     inS.shutdownType = shutdownType;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.Shutdown, (TpmStructureBase) inS, typeof(Tpm2ShutdownResponse), out outSBase, 0, 0);
 }
コード例 #2
0
ファイル: X_TpmDefs.cs プロジェクト: vishalishere/TSS.MSR
 public Tpm2ShutdownRequest(Tpm2ShutdownRequest the_Tpm2ShutdownRequest)
 {
     if((Object) the_Tpm2ShutdownRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     shutdownType = the_Tpm2ShutdownRequest.shutdownType;
 }