By default, QLM uses anonymous authentication to connect to the QLM License Server.
To connect to the QLM License Server via Windows Authentication, you must set the credentials of the user that will connect to the License Server.
Note that to configure the QLM console to connect to your License Server via Windows Authentication, you must set the Authentication method in the QLM Console / Sites property sheet.
QlmLicense license = new QlmLicense ();
WSCredentials ws = new WSCredentials ("user", "pwd", "domain");
license.WSCredentials = ws;