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
- _FixedSizeReader.cs
- SqlFlattener.cs
- ErrorView.xaml.cs
- ChoiceConverter.cs
- InternalControlCollection.cs
- ToolStripTemplateNode.cs
- CriticalHandle.cs
- ExpressionLexer.cs
- Part.cs
- IApplicationTrustManager.cs
- WindowsListViewSubItem.cs
- SrgsElementFactory.cs
- Compilation.cs
- PagedControl.cs
- PreProcessInputEventArgs.cs
- InternalBase.cs
- HttpApplicationFactory.cs
- BroadcastEventHelper.cs
- Light.cs
- ExtendedProperty.cs
- PassportAuthenticationModule.cs
- ThreadStartException.cs
- WebSysDescriptionAttribute.cs
- CodeDomConfigurationHandler.cs
- WebHttpBindingCollectionElement.cs
- Delay.cs
- InputScope.cs
- HostedImpersonationContext.cs
- LambdaCompiler.cs
- ReaderOutput.cs
- SingletonConnectionReader.cs
- TransportListener.cs
- PartialList.cs
- ValueProviderWrapper.cs
- ConstructorBuilder.cs
- ClassDataContract.cs
- HtmlDocument.cs
- CheckBoxRenderer.cs
- Bold.cs
- FigureParaClient.cs
- DeflateEmulationStream.cs
- StorageRoot.cs
- AppDomain.cs
- SQLRoleProvider.cs
- HttpServerVarsCollection.cs
- PathData.cs
- DbXmlEnabledProviderManifest.cs
- ApplicationGesture.cs
- ISAPIRuntime.cs
- AudioException.cs
- Thumb.cs
- ThrowHelper.cs
- ConnectionsZone.cs
- InputChannelAcceptor.cs
- ColumnReorderedEventArgs.cs
- DrawingAttributeSerializer.cs
- IisTraceWebEventProvider.cs
- SchemaMerger.cs
- BrushValueSerializer.cs
- ImageConverter.cs
- CodeMemberProperty.cs
- ReliableChannelBinder.cs
- OperationInvokerBehavior.cs
- MsmqOutputSessionChannel.cs
- securitycriticaldata.cs
- Stroke2.cs
- OletxTransactionManager.cs
- ErrorLog.cs
- ToolStripPanel.cs
- BuildResult.cs
- UpdatePanelTriggerCollection.cs
- Panel.cs
- ObjectDataSourceFilteringEventArgs.cs
- GridViewDeleteEventArgs.cs
- TrustManagerPromptUI.cs
- KoreanCalendar.cs
- DebugInfo.cs
- RequestCachingSection.cs
- TableLayoutStyle.cs
- ToolStripRenderEventArgs.cs
- OdbcReferenceCollection.cs
- CodeTypeConstructor.cs
- ProtectedUri.cs
- SubstitutionResponseElement.cs
- BindingManagerDataErrorEventArgs.cs
- CodeAccessPermission.cs
- LogEntryHeaderv1Deserializer.cs
- DataGridDetailsPresenterAutomationPeer.cs
- SqlCacheDependencyDatabase.cs
- PropertyFilter.cs
- WsatConfiguration.cs
- Camera.cs
- CookieProtection.cs
- AutoResetEvent.cs
- SqlDataSourceRefreshSchemaForm.cs
- HttpModuleCollection.cs
- XmlSchemaNotation.cs
- Button.cs
- ContainerParagraph.cs
- GridViewRowPresenter.cs