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.
Name | Type |
---|---|
host | string |
port | number |
CheckRDPAuthResponse
| null
Example
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.
Name | Type |
---|---|
host | string |
port | number |
IsRDPResponse
| null
Example