Modules
Rdp
Namespace: rdp
Table of contents
Interfaces
Functions
Functions
CheckRDPAuth
▸ CheckRDPAuth(host
, port
): CheckRDPAuthResponse
| null
CheckRDPAuth checks if the given host and port are running rdp server with authentication and returns their metadata. If connection is successful, it returns true.
Parameters
Name | Type |
---|---|
host | string |
port | number |
Returns
CheckRDPAuthResponse
| null
Example
Defined in
rdp.ts:14
IsRDP
▸ IsRDP(host
, port
): IsRDPResponse
| null
IsRDP checks if the given host and port are running rdp server. If connection is successful, it returns true. If connection is unsuccessful, it returns false and error. The Name of the OS is also returned if the connection is successful.
Parameters
Name | Type |
---|---|
host | string |
port | number |
Returns
IsRDPResponse
| null
Example
Defined in
rdp.ts:32