  | ManagerConnection Constructor (String, Int32, String, String) | 
            Creates a new instance with the given connection parameters.
            
 
Namespace: AsterNET.ManagerAssembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic ManagerConnection(
	string hostname,
	int port,
	string username,
	string password
)
Public Sub New ( 
	hostname As String,
	port As Integer,
	username As String,
	password As String
)
public:
ManagerConnection(
	String^ hostname, 
	int port, 
	String^ username, 
	String^ password
)
new : 
        hostname : string * 
        port : int * 
        username : string * 
        password : string -> ManagerConnectionParameters
- 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