using System.IO;
using System.Reflection;
using Pithos.Client.WPF.Preferences;
+using Pithos.Client.WPF.Properties;
using Pithos.Network;
using log4net;
var retrieveUri = uriBuilder.Uri;
+ var logoutUrl= (from server in Settings.Default.Servers
+ where server.LoginUri == loginUrl
+ select new Uri(server.LogoutUri)).FirstOrDefault();
- var browser = new LoginView(retrieveUri,accountName);
+
+
+ var browser = new LoginView(retrieveUri,logoutUrl,accountName);
if (true == browser.ShowDialog())
{
return new NetworkCredential(browser.Account, browser.Token);