Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / HttpChannelBindingToken.cs / 1305376 / 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; 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; 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
- TextOnlyOutput.cs
- ClientUtils.cs
- RIPEMD160Managed.cs
- StylusButton.cs
- RichTextBoxContextMenu.cs
- ErrorWrapper.cs
- ColumnClickEvent.cs
- ClickablePoint.cs
- DataTableReaderListener.cs
- IDispatchConstantAttribute.cs
- TaskFormBase.cs
- CheckPair.cs
- TextServicesContext.cs
- DateTimeOffset.cs
- PtsPage.cs
- DecoderReplacementFallback.cs
- PrintPreviewGraphics.cs
- BaseComponentEditor.cs
- TableRowGroup.cs
- HtmlTextArea.cs
- RichTextBoxContextMenu.cs
- DurableEnlistmentState.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SystemKeyConverter.cs
- PhonemeConverter.cs
- DbReferenceCollection.cs
- GlobalId.cs
- ReliableMessagingVersion.cs
- UrlMappingsSection.cs
- ScrollViewerAutomationPeer.cs
- DirectoryGroupQuery.cs
- QilExpression.cs
- X509WindowsSecurityToken.cs
- ResponseBodyWriter.cs
- EntityContainerEmitter.cs
- WindowCollection.cs
- DataGridTextBoxColumn.cs
- DataBindingExpressionBuilder.cs
- PackWebRequestFactory.cs
- PassportPrincipal.cs
- WorkflowOperationContext.cs
- XmlSchemaElement.cs
- MenuCommand.cs
- IdentifierCollection.cs
- ArcSegment.cs
- FixedSOMTextRun.cs
- SID.cs
- WindowsListViewItem.cs
- LocatorManager.cs
- TextServicesCompartmentEventSink.cs
- HuffCodec.cs
- BinarySerializer.cs
- AccessibleObject.cs
- FileRegion.cs
- OdbcConnectionPoolProviderInfo.cs
- EndpointBehaviorElementCollection.cs
- TypeResolver.cs
- LocalizabilityAttribute.cs
- HiddenField.cs
- BindingElement.cs
- ArrayTypeMismatchException.cs
- GenericPrincipal.cs
- StaticSiteMapProvider.cs
- Transform3DCollection.cs
- WebServiceMethodData.cs
- IdentifierService.cs
- NetworkInformationPermission.cs
- PasswordRecovery.cs
- ZipIOExtraFieldElement.cs
- RuleSetReference.cs
- ToolStripArrowRenderEventArgs.cs
- RequiredAttributeAttribute.cs
- EasingKeyFrames.cs
- JsonServiceDocumentSerializer.cs
- DES.cs
- MdImport.cs
- Expressions.cs
- OdbcConnectionFactory.cs
- PointAnimationUsingPath.cs
- ListViewHitTestInfo.cs
- WindowsBrush.cs
- ReadOnlyAttribute.cs
- _AutoWebProxyScriptWrapper.cs
- Matrix3DStack.cs
- RemotingServices.cs
- OdbcConnectionStringbuilder.cs
- DataProviderNameConverter.cs
- Point4D.cs
- ResXResourceReader.cs
- NullableIntMinMaxAggregationOperator.cs
- FontUnitConverter.cs
- EdgeModeValidation.cs
- DelimitedListTraceListener.cs
- Literal.cs
- DiscoveryEndpointValidator.cs
- ExtensionFile.cs
- UserMapPath.cs
- OleDbWrapper.cs
- UrlMappingsSection.cs
- DataGridViewRowHeaderCell.cs