Genesis2000用c#开发外挂

这篇博客介绍了如何利用C#通过Gateway程序与Genesis2000进行交互,实现外挂开发。核心在于使用Process类进行命令发送和接收,并特别提到了COM指令的使用。在实际操作中要注意可能存在多个gnd或gateway进程导致的问题,以及通过WinForm程序进行测试的步骤和结果展示。
摘要由CSDN通过智能技术生成

先上官方的说明

gateway is a command line utility for sending messages and commands to Genesis processes. The gateway command works between all systems that are connected to the same gnd server (in a client-server mode).

This command allows you send messages or run commands or scripts on any genesis process currently running without having to interfere with the GUI on that station.

 

Running gateway does not require any additional licenses. The program itself is located in $GENESIS_DIR/exx/misc  where xx is the version number (eg. e72)

 

gateway may be called in one of the following modes:

 

gateway <address> <message>

Sends a message to an address

gateway ’WHO <address>’

Returns matching address

gateway ’PID <address>’

Returns process IDs of matching adress

gateway <address>

Opens an interactive session

 

  • <address> is formed as <user>@<computer>.<display name>, where <user> is the Genesis login name, <computer> is the name of the computer, and <display> is the name of the X Display that is displaying the “get” process.

 

  • As from v7.1, <address> can also be formed as <pid>@computer.display, where <pid> is the process id of the get process,
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值