/// <summary> /// Initializes a new instance of the MyHost class. Keep a reference /// to the host application object so that it can be informed when /// to exit. /// </summary> /// <param name="program">A reference to the host application object.</param> public MyHost(P0wnedListenerConsole program) { this.program = program; }
public void CommandShell() { P0wnedListenerConsole listener = new P0wnedListenerConsole(); listener.CommandPrompt(); }