Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / ServerType.cs / 1305376 / ServerType.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System; using System.Collections; using System.IO; using System.Reflection; using System.Xml.Serialization; using System.Web.Services.Description; using System.Security.Policy; using System.Security; using System.Security.Permissions; [PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust")] [PermissionSet(SecurityAction.InheritanceDemand, Name = "FullTrust")] public class ServerType { Type type; public ServerType(Type type) { this.type = type; } internal Type Type { get { return type; } } internal Evidence Evidence { get { new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert(); return Type.Assembly.Evidence; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System; using System.Collections; using System.IO; using System.Reflection; using System.Xml.Serialization; using System.Web.Services.Description; using System.Security.Policy; using System.Security; using System.Security.Permissions; [PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust")] [PermissionSet(SecurityAction.InheritanceDemand, Name = "FullTrust")] public class ServerType { Type type; public ServerType(Type type) { this.type = type; } internal Type Type { get { return type; } } internal Evidence Evidence { get { new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert(); return Type.Assembly.Evidence; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextChange.cs
- DeferredRunTextReference.cs
- safex509handles.cs
- COM2PictureConverter.cs
- WebPartEventArgs.cs
- PartBasedPackageProperties.cs
- DiagnosticTraceSource.cs
- DtrList.cs
- RestHandlerFactory.cs
- AccessibleObject.cs
- ToolStripRendererSwitcher.cs
- EditCommandColumn.cs
- COM2EnumConverter.cs
- AesCryptoServiceProvider.cs
- HttpListenerResponse.cs
- EntityStoreSchemaGenerator.cs
- ThreadAttributes.cs
- UnsafeNativeMethods.cs
- ResourceDescriptionAttribute.cs
- ExtendedPropertyDescriptor.cs
- AccessibilityHelperForVista.cs
- TextRangeBase.cs
- Membership.cs
- RIPEMD160Managed.cs
- SQLMoneyStorage.cs
- StrongNameIdentityPermission.cs
- DesignerForm.cs
- IndexerNameAttribute.cs
- PageThemeParser.cs
- OleDbErrorCollection.cs
- FrameworkEventSource.cs
- StylusButtonCollection.cs
- VerificationAttribute.cs
- UpdateProgress.cs
- TraceUtility.cs
- DiscoveryDefaults.cs
- SqlHelper.cs
- Region.cs
- Line.cs
- BuildDependencySet.cs
- TextParaClient.cs
- SharedPerformanceCounter.cs
- RegistrationServices.cs
- ComponentDispatcherThread.cs
- ClientUtils.cs
- TimelineGroup.cs
- SystemColors.cs
- PrintControllerWithStatusDialog.cs
- BinaryCommonClasses.cs
- SerialPinChanges.cs
- MsmqIntegrationChannelFactory.cs
- ExpandableObjectConverter.cs
- RefExpr.cs
- GeneralTransformCollection.cs
- XmlHierarchicalDataSourceView.cs
- UnaryNode.cs
- RenderingBiasValidation.cs
- CellLabel.cs
- AssemblySettingAttributes.cs
- CharacterBufferReference.cs
- MinMaxParagraphWidth.cs
- DeobfuscatingStream.cs
- DataBoundControl.cs
- Char.cs
- ProfileModule.cs
- StandardToolWindows.cs
- ClientSettings.cs
- ItemAutomationPeer.cs
- ViewRendering.cs
- SafeLibraryHandle.cs
- SHA512Managed.cs
- GridViewRowCollection.cs
- xmlglyphRunInfo.cs
- BamlBinaryReader.cs
- TriState.cs
- SqlTopReducer.cs
- ClientTarget.cs
- mongolianshape.cs
- RequestValidator.cs
- ProfileEventArgs.cs
- ChannelTerminatedException.cs
- XhtmlBasicPanelAdapter.cs
- WebZone.cs
- SiteMapSection.cs
- WindowsStatusBar.cs
- Context.cs
- EntityContainerEntitySetDefiningQuery.cs
- ResXResourceWriter.cs
- AtomServiceDocumentSerializer.cs
- ListenerAdaptersInstallComponent.cs
- PeerTransportBindingElement.cs
- EdmToObjectNamespaceMap.cs
- BamlVersionHeader.cs
- PasswordValidationException.cs
- XmlSchemaCompilationSettings.cs
- Panel.cs
- DSGeneratorProblem.cs
- ClientRequest.cs
- DataGridCaption.cs
- LexicalChunk.cs