void Preprocessing.ICredentialsCache.InvalidateCredentialsCache(Uri site, string authType) { lock (credentialCacheLock) { if (credentialCache == null) { credentialCache = new NetworkCredentialsStorage(credentialsCacheStorage, new Persistence.SystemDataProtection()); } if (credentialCache.Remove(site)) { credentialCache.StoreSecurely(); } } }
void Preprocessing.ICredentialsCache.InvalidateCredentialsCache(Uri site, string authType) { lock (credentialCacheLock) { if (credentialCache == null) { credentialCache = new NetworkCredentialsStorage(credentialsCacheStorage); } if (credentialCache.Remove(site)) { credentialCache.StoreSecurely(); } } }