/// <summary> /// Constructor /// </summary> public NtProcessCreateConfig() { DesktopInfo = @"WinSta0\Default"; ShellInfo = ""; RuntimeData = ""; WindowTitle = ""; AdditionalAttributes = new List <ProcessAttribute>(); ProcessDesiredAccess = ProcessAccessRights.MaximumAllowed; ThreadDesiredAccess = ThreadAccessRights.MaximumAllowed; InheritHandleList = new List <NtObject>(); TrustletConfig = new NtProcessTrustletConfig(); }
public static ProcessAttribute SecureProcess(NtProcessTrustletConfig trustlet_config) { return(new ProcessAttribute(ProcessAttributeNum.SecureProcess, false, true, false, trustlet_config.ToArray().ToBuffer())); }