C# Class PoshInternals.HookInterface

Inheritance: System.MarshalByRefObject
Show file Open project: adamdriscoll/PoshInternals Class Usage Examples

Public Properties

Property Type Description
Runspace System.Management.Automation.Runspaces.Runspace

Public Methods

Method Description
CreateServer ( ) : System.Runtime.Remoting.Channels.Ipc.IpcServerChannel
Inject ( int pid, string entryPoint, string dll, string typeName, string scriptBlock, string modulePath, string additionalCode, bool log ) : void
ReportError ( Int32 InClientPID, Exception e ) : void
WriteHost ( string e ) : void

Method Details

CreateServer() public static method

public static CreateServer ( ) : System.Runtime.Remoting.Channels.Ipc.IpcServerChannel
return System.Runtime.Remoting.Channels.Ipc.IpcServerChannel

Inject() public static method

public static Inject ( int pid, string entryPoint, string dll, string typeName, string scriptBlock, string modulePath, string additionalCode, bool log ) : void
pid int
entryPoint string
dll string
typeName string
scriptBlock string
modulePath string
additionalCode string
log bool
return void

ReportError() public method

public ReportError ( Int32 InClientPID, Exception e ) : void
InClientPID System.Int32
e System.Exception
return void

WriteHost() public method

public WriteHost ( string e ) : void
e string
return void

Property Details

Runspace public property

public Runspace,System.Management.Automation.Runspaces Runspace
return System.Management.Automation.Runspaces.Runspace