Revision e394ef0f trunk/Pithos.Client.WPF/App.xaml.cs
b/trunk/Pithos.Client.WPF/App.xaml.cs | ||
---|---|---|
43 | 43 |
using System.Collections.Generic; |
44 | 44 |
using System.IO; |
45 | 45 |
using System.Linq; |
46 |
using System.Net; |
|
46 | 47 |
using System.Reflection; |
47 | 48 |
using System.Text; |
48 | 49 |
using System.Threading; |
... | ... | |
86 | 87 |
Settings.Default.UseDefaultProxy = true; |
87 | 88 |
} |
88 | 89 |
|
90 |
if (Settings.Default.IgnoreCertificateErrors) |
|
91 |
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; |
|
92 |
|
|
89 | 93 |
|
90 | 94 |
InitializeComponent(); |
91 | 95 |
} |
Also available in: Unified diff