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
- QilPatternVisitor.cs
- WebReferencesBuildProvider.cs
- TrackingParticipant.cs
- glyphs.cs
- PageCache.cs
- ServicesUtilities.cs
- HostExecutionContextManager.cs
- JsonObjectDataContract.cs
- TypeInitializationException.cs
- ComponentCollection.cs
- AssociationTypeEmitter.cs
- XmlAttributes.cs
- BaseTemplateParser.cs
- ToolStripDropDownButton.cs
- WindowsRichEdit.cs
- SqlServer2KCompatibilityAnnotation.cs
- StringOutput.cs
- VariableAction.cs
- JoinElimination.cs
- WebConfigurationHostFileChange.cs
- FileSecurity.cs
- BamlLocalizableResourceKey.cs
- UndoManager.cs
- XPathNodeHelper.cs
- BamlCollectionHolder.cs
- XPathDocumentIterator.cs
- XPathMultyIterator.cs
- WindowsHyperlink.cs
- GuidelineCollection.cs
- CellPartitioner.cs
- EpmSyndicationContentSerializer.cs
- DesignerAttribute.cs
- GlyphShapingProperties.cs
- SiteMapSection.cs
- HtmlInputReset.cs
- TextEditorContextMenu.cs
- shaperfactory.cs
- controlskin.cs
- DbConnectionPool.cs
- SingleResultAttribute.cs
- WorkflowDebuggerSteppingAttribute.cs
- DetailsViewInsertedEventArgs.cs
- WebPartConnection.cs
- sqlnorm.cs
- ComponentDesigner.cs
- AssociationProvider.cs
- ClrProviderManifest.cs
- EntitySet.cs
- SafeProcessHandle.cs
- TCEAdapterGenerator.cs
- RemoveFromCollection.cs
- XmlSchemaObject.cs
- HtmlGenericControl.cs
- BinaryFormatter.cs
- BamlRecordWriter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- AssemblyCache.cs
- TypeDescriptor.cs
- COM2ExtendedUITypeEditor.cs
- BaseCodeDomTreeGenerator.cs
- Accessible.cs
- CommentEmitter.cs
- PersonalizationProvider.cs
- ConfigXmlComment.cs
- TrackBar.cs
- ListDictionaryInternal.cs
- TimeSpanSecondsConverter.cs
- X509SecurityTokenAuthenticator.cs
- QilStrConcatenator.cs
- CodeSubDirectoriesCollection.cs
- RadioButtonPopupAdapter.cs
- DesignerAttribute.cs
- basenumberconverter.cs
- SendMessageChannelCache.cs
- Guid.cs
- RuleSetDialog.Designer.cs
- XmlToDatasetMap.cs
- InitializerFacet.cs
- QueuedDeliveryRequirementsMode.cs
- StringAnimationUsingKeyFrames.cs
- NativeMethods.cs
- FileController.cs
- AddInStore.cs
- TreeNode.cs
- ReaderWriterLock.cs
- DataGridRowEventArgs.cs
- SafeTimerHandle.cs
- TdsParameterSetter.cs
- EnumType.cs
- SingleObjectCollection.cs
- FixedTextContainer.cs
- BitArray.cs
- XmlSchemaAnnotated.cs
- AlternationConverter.cs
- coordinatorscratchpad.cs
- SourceCollection.cs
- OrderedEnumerableRowCollection.cs
- CounterSetInstance.cs
- FrameworkContentElementAutomationPeer.cs
- LineVisual.cs