public static ChannelFactory <I> CreateChannelFactory <I>(string endpointConfigurationName, string remoteAddress) where I : class { return(CreateChannelFactory <I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, CryptoService.DecryptString(Settings.Default.Password))); }
public static T CreateClient <T, I>(string endpointConfigurationName, string remoteAddress) where T : ClientBase <I>, I where I : class { return(CreateClient <T, I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, CryptoService.DecryptString(Settings.Default.Password))); }