Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / HttpChannelBindingToken.cs / 1 / HttpChannelBindingToken.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HttpChannelBindingToken class * * Copyright (c) 2008 Microsoft Corporation */ namespace System.Web { using System.Security.Permissions; using System.Security.Authentication.ExtendedProtection; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] internal sealed class HttpChannelBindingToken : ChannelBinding { private int _size; internal HttpChannelBindingToken(IntPtr token, int tokenSize) { SetHandle(token); _size = tokenSize; } protected override bool ReleaseHandle() { SetHandle(IntPtr.Zero); _size = 0; return true; } public override int Size { get { return _size; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HttpChannelBindingToken class * * Copyright (c) 2008 Microsoft Corporation */ namespace System.Web { using System.Security.Permissions; using System.Security.Authentication.ExtendedProtection; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] internal sealed class HttpChannelBindingToken : ChannelBinding { private int _size; internal HttpChannelBindingToken(IntPtr token, int tokenSize) { SetHandle(token); _size = tokenSize; } protected override bool ReleaseHandle() { SetHandle(IntPtr.Zero); _size = 0; return true; } public override int Size { get { return _size; } } } } // 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
- WsatAdminException.cs
- VectorConverter.cs
- TextEffectCollection.cs
- StyleSelector.cs
- SiteMapPath.cs
- PartialCachingControl.cs
- TreeNodeClickEventArgs.cs
- DBConnection.cs
- WindowsTokenRoleProvider.cs
- EdmFunctions.cs
- BuildManagerHost.cs
- DriveInfo.cs
- CssStyleCollection.cs
- Rotation3DAnimation.cs
- GeometryDrawing.cs
- IgnorePropertiesAttribute.cs
- ParamArrayAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Ray3DHitTestResult.cs
- ParameterElementCollection.cs
- AlgoModule.cs
- Authorization.cs
- EntityRecordInfo.cs
- InternalMappingException.cs
- XmlNamespaceManager.cs
- TextOnlyOutput.cs
- ErrorHandler.cs
- ScrollViewer.cs
- latinshape.cs
- MouseEventArgs.cs
- CDSCollectionETWBCLProvider.cs
- TrackingExtract.cs
- XmlSchemaValidator.cs
- SoapMessage.cs
- DiagnosticSection.cs
- DataGridViewSelectedCellCollection.cs
- CssClassPropertyAttribute.cs
- CompositeTypefaceMetrics.cs
- DBSqlParserColumn.cs
- ExceptionWrapper.cs
- EventPrivateKey.cs
- XmlAttributeCollection.cs
- TypeForwardedToAttribute.cs
- _UncName.cs
- SecurityDescriptor.cs
- SqlGatherProducedAliases.cs
- HtmlProps.cs
- DataObject.cs
- Switch.cs
- EntityDataSourceViewSchema.cs
- MembershipValidatePasswordEventArgs.cs
- PropertyInfo.cs
- TypefaceMetricsCache.cs
- XmlUnspecifiedAttribute.cs
- TdsParserHelperClasses.cs
- ReflectTypeDescriptionProvider.cs
- ServiceModelExtensionCollectionElement.cs
- LocatorPart.cs
- SchemaImporterExtension.cs
- ItemCollection.cs
- RadioButtonPopupAdapter.cs
- XmlRawWriter.cs
- Pts.cs
- ItemsControl.cs
- DesignerMetadata.cs
- VisualBrush.cs
- DynamicObject.cs
- SystemInformation.cs
- SqlDataSourceCommandEventArgs.cs
- Serializer.cs
- EntityDataSourceWizardForm.cs
- InputDevice.cs
- EntityDataReader.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- FileInfo.cs
- BufferedGenericXmlSecurityToken.cs
- glyphs.cs
- VisualBasicSettingsHandler.cs
- TakeOrSkipQueryOperator.cs
- SynchronizedReadOnlyCollection.cs
- HttpStreamXmlDictionaryWriter.cs
- ControlUtil.cs
- ViewDesigner.cs
- EventLogTraceListener.cs
- WindowExtensionMethods.cs
- AsyncParams.cs
- OdbcConnectionString.cs
- TextTreeNode.cs
- CodeAttributeDeclarationCollection.cs
- HashAlgorithm.cs
- SerializeAbsoluteContext.cs
- OutputCacheProfile.cs
- TagMapInfo.cs
- X509SecurityTokenAuthenticator.cs
- TextTreeRootTextBlock.cs
- RectValueSerializer.cs
- CodeDOMProvider.cs
- SHA256Managed.cs
- TextRangeSerialization.cs
- ControlBuilder.cs