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
- SplitContainer.cs
- UnsafeNativeMethodsPenimc.cs
- CultureInfoConverter.cs
- AncestorChangedEventArgs.cs
- SecurityKeyIdentifier.cs
- HyperLink.cs
- IsolationInterop.cs
- FrameworkElement.cs
- X509CertificateCollection.cs
- HostedTransportConfigurationManager.cs
- XmlNullResolver.cs
- XappLauncher.cs
- ProfilePropertyNameValidator.cs
- ZipIOFileItemStream.cs
- GeneralTransform2DTo3D.cs
- ListViewItem.cs
- BitmapCache.cs
- ProcessHostServerConfig.cs
- _AcceptOverlappedAsyncResult.cs
- ContextMenuStrip.cs
- JsonWriter.cs
- CompiledQuery.cs
- MetadataPropertyAttribute.cs
- GregorianCalendarHelper.cs
- EntityCollectionChangedParams.cs
- RequestCachingSection.cs
- TimelineClockCollection.cs
- FileBasedResourceGroveler.cs
- DesignerLoader.cs
- ScriptResourceAttribute.cs
- SafeRightsManagementSessionHandle.cs
- NativeMethodsOther.cs
- OleDbSchemaGuid.cs
- ChameleonKey.cs
- ApplicationInfo.cs
- MultiBindingExpression.cs
- DesignerOptionService.cs
- CursorEditor.cs
- CheckBoxBaseAdapter.cs
- NumberFormatInfo.cs
- AppSettingsReader.cs
- RankException.cs
- QuaternionValueSerializer.cs
- ValidatingPropertiesEventArgs.cs
- WebPartPersonalization.cs
- TypedTableHandler.cs
- DataBinding.cs
- XslCompiledTransform.cs
- DataFormats.cs
- ValidationEventArgs.cs
- KeyInfo.cs
- TextTreeRootTextBlock.cs
- HttpCacheVary.cs
- SpeechUI.cs
- _CookieModule.cs
- Models.cs
- ObjectStorage.cs
- X509ChainPolicy.cs
- CodeLinePragma.cs
- TemplateControlBuildProvider.cs
- ElementHostAutomationPeer.cs
- SystemColors.cs
- UntypedNullExpression.cs
- CodeTypeReferenceCollection.cs
- XmlFormatExtensionAttribute.cs
- InsufficientMemoryException.cs
- NativeCompoundFileAPIs.cs
- SpAudioStreamWrapper.cs
- PrintDialogException.cs
- Control.cs
- SystemNetHelpers.cs
- SHA512Managed.cs
- UpDownBase.cs
- FamilyTypefaceCollection.cs
- HttpResponseBase.cs
- ListenerElementsCollection.cs
- InheritablePropertyChangeInfo.cs
- HtmlImage.cs
- MemberInfoSerializationHolder.cs
- HGlobalSafeHandle.cs
- CompositeFontParser.cs
- StreamInfo.cs
- DbProviderManifest.cs
- ScrollViewer.cs
- SafeRightsManagementQueryHandle.cs
- CompoundFileStorageReference.cs
- RowsCopiedEventArgs.cs
- IgnorePropertiesAttribute.cs
- DragDrop.cs
- HttpGetServerProtocol.cs
- Clock.cs
- DesignerObjectListAdapter.cs
- ExceptionUtil.cs
- XmlAttribute.cs
- WebPartEditorOkVerb.cs
- ValueQuery.cs
- SymbolType.cs
- TableDesigner.cs
- NetStream.cs
- TypeBuilder.cs