Click or drag to resize
ManagerConnection Constructor (String, Int32, String, String)
Creates a new instance with the given connection parameters.

Namespace: AsterNET.Manager
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ManagerConnection(
	string hostname,
	int port,
	string username,
	string password
)

Parameters

hostname
Type: SystemString
the hosname of the Asterisk server to connect to.
port
Type: SystemInt32
the port where Asterisk listens for incoming Manager API connections, usually 5038.
username
Type: SystemString
the username to use for login
password
Type: SystemString
the password to use for login
See Also