2

Closed

LogReceiverService: Not able to use Credentials

description

When i need to use Credentials ( like in wsHttpBinding - Connection ) there is no way to set them ( only endpointAdress and enpointConfigurationName are available )..
 
Workaround is sth. like this:
 
        var client = new WcfLogReceiverClient("WSHttpBinding_ILogReceiverServer");
        client.ClientCredentials.UserName.UserName = "demo";
        client.ClientCredentials.UserName.Password = "demo";
        client.ProcessLogMessagesAsync(new NLogEvents());
Closed Oct 6, 2012 at 9:51 PM by Xharze
Moved to https://github.com/NLog/NLog/issues/22

comments