命名空间: rdp
目录
接口
函数
函数
CheckRDPAuth
▸ CheckRDPAuth(host, port): CheckRDPAuthResponse | null
CheckRDPAuth 检查给定的主机和端口是否运行带有身份验证的RDP服务器,
并返回其元数据。
如果连接成功,返回true。
参数
| 名称 | 类型 |
|---|---|
host | string |
port | number |
返回值
CheckRDPAuthResponse | null
示例
定义于
rdp.ts:14IsRDP
▸ IsRDP(host, port): IsRDPResponse | null
IsRDP 检查给定的主机和端口是否运行RDP服务器。
如果连接成功,返回true。
如果连接不成功,返回false和错误信息。
如果连接成功,还会返回操作系统的名称。
参数
| 名称 | 类型 |
|---|---|
host | string |
port | number |
返回值
IsRDPResponse | null
示例