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
- WhitespaceRule.cs
- Utils.cs
- ContentElement.cs
- RectValueSerializer.cs
- ListMarkerLine.cs
- Command.cs
- RecognizedAudio.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ComponentCollection.cs
- WpfGeneratedKnownProperties.cs
- _NegotiateClient.cs
- RectAnimationUsingKeyFrames.cs
- ProxyWebPartConnectionCollection.cs
- ParagraphVisual.cs
- Stroke2.cs
- HotSpotCollection.cs
- StateChangeEvent.cs
- Sequence.cs
- _SingleItemRequestCache.cs
- InvalidTimeZoneException.cs
- ReadOnlyObservableCollection.cs
- SQLMoneyStorage.cs
- MappedMetaModel.cs
- ErrorReporting.cs
- ExpressionVisitor.cs
- XamlHostingSection.cs
- DecoderFallbackWithFailureFlag.cs
- KeyProperty.cs
- RequestCacheEntry.cs
- CodeChecksumPragma.cs
- ServiceModelConfigurationElementCollection.cs
- Error.cs
- MethodBody.cs
- ProofTokenCryptoHandle.cs
- XmlValueConverter.cs
- GridViewEditEventArgs.cs
- MemberPath.cs
- BaseContextMenu.cs
- SoapExtensionImporter.cs
- ModuleConfigurationInfo.cs
- ProtocolsConfigurationEntry.cs
- CheckBox.cs
- SetterBaseCollection.cs
- CreateUserErrorEventArgs.cs
- QuerySubExprEliminator.cs
- StringPropertyBuilder.cs
- SqlUDTStorage.cs
- OdbcDataAdapter.cs
- TableRowCollection.cs
- WebPartDisplayModeCancelEventArgs.cs
- DataGridViewCellCollection.cs
- TimestampInformation.cs
- MissingSatelliteAssemblyException.cs
- ModulesEntry.cs
- ClosureBinding.cs
- OrderedDictionaryStateHelper.cs
- SrgsGrammarCompiler.cs
- ToolboxBitmapAttribute.cs
- SmiContextFactory.cs
- AttributeProviderAttribute.cs
- _NtlmClient.cs
- CodeDomDecompiler.cs
- DataBoundControl.cs
- InputLanguage.cs
- StreamGeometry.cs
- Roles.cs
- ProbeMatchesMessage11.cs
- regiisutil.cs
- ServiceRouteHandler.cs
- UIElementPropertyUndoUnit.cs
- EmbeddedMailObjectsCollection.cs
- CollectionViewGroupInternal.cs
- VisualBrush.cs
- SpecialNameAttribute.cs
- TypeValidationEventArgs.cs
- XamlReaderHelper.cs
- SimpleType.cs
- MessagePropertyDescriptionCollection.cs
- RangeContentEnumerator.cs
- COM2IPerPropertyBrowsingHandler.cs
- LabelTarget.cs
- DragDropManager.cs
- MessageQueuePermissionAttribute.cs
- UInt16Converter.cs
- EditorZone.cs
- CaseInsensitiveComparer.cs
- DeferredReference.cs
- CodeAccessSecurityEngine.cs
- SQLDoubleStorage.cs
- ChtmlPhoneCallAdapter.cs
- CodeTypeDeclarationCollection.cs
- RecognizerInfo.cs
- SqlError.cs
- FileDialog_Vista.cs
- ScrollItemPatternIdentifiers.cs
- InputReferenceExpression.cs
- TextBoxRenderer.cs
- DataGridSortingEventArgs.cs
- COAUTHIDENTITY.cs
- StoryFragments.cs