C# Class PoshInternals.HookInjection

Inheritance: EasyHook.IEntryPoint
Show file Open project: adamdriscoll/PoshInternals

Public Properties

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

Public Methods

Method Description
HookInjection ( RemoteHooking InContext, String InChannelName, String entryPoint, String dll, String returnType, String scriptBlock, String modulePath, String additionalCode, bool eventLog ) : System
Run ( RemoteHooking InContext, String channelName, String entryPoint, String dll, String returnType, String scriptBlock, String modulePath, String additionalCode, bool eventLog ) : void

Private Methods

Method Description
Log ( string message, bool shouldLog ) : void

Method Details

HookInjection() public method

public HookInjection ( RemoteHooking InContext, String InChannelName, String entryPoint, String dll, String returnType, String scriptBlock, String modulePath, String additionalCode, bool eventLog ) : System
InContext RemoteHooking
InChannelName String
entryPoint String
dll String
returnType String
scriptBlock String
modulePath String
additionalCode String
eventLog bool
return System

Run() public method

public Run ( RemoteHooking InContext, String channelName, String entryPoint, String dll, String returnType, String scriptBlock, String modulePath, String additionalCode, bool eventLog ) : void
InContext RemoteHooking
channelName String
entryPoint String
dll String
returnType String
scriptBlock String
modulePath String
additionalCode String
eventLog bool
return void

Property Details

Interface public property

public HookInterface,PoshInternals Interface
return HookInterface

Runspace public property

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