Results 1 to 2 of 2
  1. #1
    BanHammer Holder
    Grooguz will become famous soon enough Grooguz's Avatar
    Join Date
    2010 May
    Thanked 537 Times in 167 Posts
    Rep Power

    Run Process with CreateProcess

    using System;
    using System.Windows;
    using System.Diagnostics;
    using System.Runtime.InteropServices;

    public struct PROCESS_INFORMATION
    public IntPtr hProcess;
    public IntPtr hThread;
    public uint dwProcessId;
    public uint dwThreadId;

    public struct STARTUPINFO
    public uint cb;
    public string lpReserved;
    public string lpDesktop;
    public string lpTitle;
    public uint dwX;
    public uint dwY;
    public uint dwXSize;
    public uint dwYSize;
    public uint dwXCountChars;
    public uint dwYCountChars;
    public uint dwFillAttribute;
    public uint dwFlags;
    public short wShowWindow;
    public short cbReserved2;
    public IntPtr lpReserved2;
    public IntPtr hStdInput;
    public IntPtr hStdOutput;
    public IntPtr hStdError;
    public struct SECURITY_ATTRIBUTES
    public int length;
    public IntPtr lpSecurityDescriptor;
    public bool bInheritHandle;
    namespace CreateProcess
    public partial class MainWindow : Window
    public MainWindow()


    private void Button_Click(object sender, RoutedEventArgs e)


    CreateProcess("Requiem.exe", " -FromLauncher 0/0 0 0 1 3 0", IntPtr.Zero, IntPtr.Zero, false, 0, IntPtr.Zero, null, ref si, out pi);

    static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes,
    bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment,
    string lpCurrentDirectory, ref STARTUPINFO lpStartupInfo,out PROCESS_INFORMATION lpProcessInformation);


    by Dwar
    this part of code was moved from Requiem Simple Launcher

  2. #2
    Member-in-training pohkak is on a distinguished road pohkak's Avatar
    Join Date
    2010 Dec
    Thanked 10 Times in 10 Posts
    Rep Power
    in your code the part wich run process with "CreatProcess" like you name it you posted also a bounch useless data wich was used for somethink else .
    If anyone who is starting to learn C# going to get examples here .... he will be lost in 2 sec.

    Better help me out pls to find offsets for MOb under targed X,Y (RequiemOnline)
    Are you hackers ?...No, wee are russians!

Similar Threads

  1. [C++] Process Injection
    By Dwar in forum C/C++
    Replies: 1
    Last Post: 2013-07-24, 04:52 PM
  2. Replies: 1
    Last Post: 2013-03-06, 07:59 PM
  3. [Process, Services & Network] Process Hacker
    By wildspirit in forum Files & Tools
    Replies: 0
    Last Post: 2011-11-09, 03:00 AM
  4. Process dump files
    By explosionsinthe in forum General Talk
    Replies: 3
    Last Post: 2011-08-02, 01:19 AM
  5. [AutoIt] ASM injection into process
    By pohkak in forum AutoIt
    Replies: 2
    Last Post: 2011-07-30, 09:51 AM
Visitors found this page by searching for:

CreateProcess C#

c# createprocess

createprocess c# example

c# createprocessasuser

c# createprocessasuser exampleCreateProcessAsUser c#CreateProcess in C#createprocess example in .netc# create processcsharp createprocessasusercreateprocess example in c#process_information c#createprocess example C#create process c#createprocessasuser example c#createprocess examplec# createpocesscreateprocessasuser c# examplevisual c# createprocesscreateprocess .net createprocess startupinfo c#CreateProcess and Memory c#c# runprocesscsharp createprocesscreateprocess

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts