Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | Configuring Messaging Clients for Basic Authentication | Securing C# Clients with Basic Authentication
 
Securing C# Clients with Basic Authentication
You must enable basic authentication on a Broker Server if you want a C# client to connect to the Broker Server by using basic authentication mechanism.
To secure C# clients with basic authentication, create a connection with basicAuthInfo in the C# client code as follows, where basicAuthInfo contains the basic authentication username and password:
IConnection CreateConnection(BasicAuthInfo basicAuthInfo);
For details about enabling basic authentication on Broker Server, see Administering webMethods Broker .