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
- SemanticBasicElement.cs
- FollowerQueueCreator.cs
- PackWebResponse.cs
- DomainUpDown.cs
- MiniConstructorInfo.cs
- PagesSection.cs
- Pair.cs
- CodeSpit.cs
- AppendHelper.cs
- datacache.cs
- ChannelFactory.cs
- LocalClientSecuritySettingsElement.cs
- PropertyChangedEventArgs.cs
- GPRECT.cs
- MetadataCacheItem.cs
- TextBlock.cs
- validationstate.cs
- DPCustomTypeDescriptor.cs
- XmlChoiceIdentifierAttribute.cs
- ContainerUIElement3D.cs
- DummyDataSource.cs
- ZoneButton.cs
- VisualBasicReference.cs
- RowCache.cs
- ComboBoxAutomationPeer.cs
- SqlInternalConnectionTds.cs
- Variable.cs
- WebPageTraceListener.cs
- XPathSelfQuery.cs
- OrCondition.cs
- LinkedResourceCollection.cs
- InputScopeAttribute.cs
- CompiledRegexRunnerFactory.cs
- DataRecordObjectView.cs
- CodeValidator.cs
- MetadataArtifactLoaderResource.cs
- SelectionChangedEventArgs.cs
- FreeIndexList.cs
- AsyncOperationManager.cs
- ExpandableObjectConverter.cs
- PtsCache.cs
- ComponentEditorPage.cs
- TextTreeFixupNode.cs
- _BufferOffsetSize.cs
- DispatcherHooks.cs
- VBCodeProvider.cs
- BinaryWriter.cs
- WebZone.cs
- NextPreviousPagerField.cs
- DocumentEventArgs.cs
- PtsHelper.cs
- LayoutTableCell.cs
- HttpProfileGroupBase.cs
- RightsManagementErrorHandler.cs
- DbConnectionStringBuilder.cs
- ByteStreamGeometryContext.cs
- VirtualPathUtility.cs
- TemplateBamlRecordReader.cs
- ColumnMapTranslator.cs
- ConnectionProviderAttribute.cs
- PersistenceIOParticipant.cs
- _Rfc2616CacheValidators.cs
- MediaTimeline.cs
- SpeechAudioFormatInfo.cs
- PageTheme.cs
- DataDocumentXPathNavigator.cs
- DataContractSet.cs
- XmlSchemaException.cs
- BamlRecordWriter.cs
- WebPartDeleteVerb.cs
- ZoneIdentityPermission.cs
- RC2CryptoServiceProvider.cs
- PropertyGeneratedEventArgs.cs
- FormViewPageEventArgs.cs
- Directory.cs
- DetailsViewUpdateEventArgs.cs
- FontCacheUtil.cs
- GeneralTransform2DTo3D.cs
- SQLConvert.cs
- ApplicationProxyInternal.cs
- RectAnimationUsingKeyFrames.cs
- XmlSchemaComplexContentRestriction.cs
- HttpResponseInternalWrapper.cs
- GroupByExpressionRewriter.cs
- SqlDataSourceSelectingEventArgs.cs
- StringUtil.cs
- RoutedEvent.cs
- HttpListenerPrefixCollection.cs
- SystemKeyConverter.cs
- TraceUtility.cs
- TableLayoutStyleCollection.cs
- DataGridRowAutomationPeer.cs
- DataGridTextBoxColumn.cs
- PrefixQName.cs
- panel.cs
- WebScriptMetadataMessage.cs
- WebPartConnectionsDisconnectVerb.cs
- WizardStepBase.cs
- MoveSizeWinEventHandler.cs
- CurrentTimeZone.cs