Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XmlUrlResolver.cs / 1305376 / XmlUrlResolver.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
using System.Threading;
using System.Security.Permissions;
using System.Net;
using System.Net.Cache;
using System.Runtime.Versioning;
namespace System.Xml {
// Resolves external XML resources named by a Uniform Resource Identifier (URI).
public class XmlUrlResolver : XmlResolver {
private static object s_DownloadManager;
private ICredentials _credentials;
private IWebProxy _proxy;
private RequestCachePolicy _cachePolicy;
static XmlDownloadManager DownloadManager {
get {
if ( s_DownloadManager == null ) {
object dm = new XmlDownloadManager();
Interlocked.CompareExchange
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GrammarBuilderBase.cs
- RegisteredDisposeScript.cs
- HealthMonitoringSectionHelper.cs
- AmbientLight.cs
- ListItemConverter.cs
- DesignerHost.cs
- PageBreakRecord.cs
- SqlDataSourceStatusEventArgs.cs
- CacheEntry.cs
- MenuTracker.cs
- CrossSiteScriptingValidation.cs
- AuthorizationRuleCollection.cs
- Icon.cs
- ExpressionVisitor.cs
- DataGridComboBoxColumn.cs
- Emitter.cs
- MsmqIntegrationInputChannel.cs
- BitmapScalingModeValidation.cs
- CircleHotSpot.cs
- SingleStorage.cs
- safex509handles.cs
- CodeIdentifier.cs
- Rijndael.cs
- WebColorConverter.cs
- WindowsListViewGroup.cs
- BuildManager.cs
- AncillaryOps.cs
- OciLobLocator.cs
- ModelChangedEventArgsImpl.cs
- OdbcPermission.cs
- RegexCompilationInfo.cs
- RemotingSurrogateSelector.cs
- ResourceDescriptionAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- Stopwatch.cs
- StrokeCollectionDefaultValueFactory.cs
- StrokeCollectionDefaultValueFactory.cs
- RoutingBehavior.cs
- TransactionManager.cs
- DataPointer.cs
- XmlAttributes.cs
- DtrList.cs
- SiteMapPathDesigner.cs
- RawStylusInput.cs
- SymmetricAlgorithm.cs
- GrammarBuilderPhrase.cs
- Encoder.cs
- FieldNameLookup.cs
- ObjectAssociationEndMapping.cs
- SafeSecurityHelper.cs
- ConvertTextFrag.cs
- SplayTreeNode.cs
- BaseDataListDesigner.cs
- XComponentModel.cs
- WebPartTransformerAttribute.cs
- JavaScriptObjectDeserializer.cs
- StyleCollection.cs
- PartialClassGenerationTask.cs
- WebPartDeleteVerb.cs
- XmlWrappingReader.cs
- TextServicesContext.cs
- OleDbCommandBuilder.cs
- bidPrivateBase.cs
- Mouse.cs
- MenuBindingsEditorForm.cs
- SaveFileDialog.cs
- EndGetFileNameFromUserRequest.cs
- SqlDependencyListener.cs
- DataException.cs
- MasterPageBuildProvider.cs
- ModifiableIteratorCollection.cs
- ApplicationBuildProvider.cs
- User.cs
- TreeNodeSelectionProcessor.cs
- codemethodreferenceexpression.cs
- ResourceSet.cs
- XmlSchemaSimpleContentRestriction.cs
- StyleReferenceConverter.cs
- ProgressBar.cs
- ComponentEvent.cs
- Run.cs
- ImageDesigner.cs
- XComponentModel.cs
- BitmapPalette.cs
- HandleExceptionArgs.cs
- CalendarDataBindingHandler.cs
- CountdownEvent.cs
- TemplateBamlRecordReader.cs
- DecimalAnimationUsingKeyFrames.cs
- DetailsViewDesigner.cs
- TextBoxBase.cs
- HttpConfigurationContext.cs
- KoreanLunisolarCalendar.cs
- WebPartDescriptionCollection.cs
- TrustLevelCollection.cs
- LateBoundBitmapDecoder.cs
- StackSpiller.Bindings.cs
- CodeDirectiveCollection.cs
- AssemblyAttributes.cs
- DataGridCellClipboardEventArgs.cs