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); }
public Tpm2ShutdownRequest(Tpm2ShutdownRequest the_Tpm2ShutdownRequest) { if((Object) the_Tpm2ShutdownRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); shutdownType = the_Tpm2ShutdownRequest.shutdownType; }