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
- TdsParameterSetter.cs
- TextTabProperties.cs
- RepeatBehaviorConverter.cs
- TypeResolver.cs
- ActionMessageFilterTable.cs
- DateTimeOffsetStorage.cs
- PointAnimationClockResource.cs
- FileSystemWatcher.cs
- TypeExtensionSerializer.cs
- RectAnimation.cs
- KnownBoxes.cs
- MailBnfHelper.cs
- GridViewRowPresenter.cs
- ProfileProvider.cs
- UriScheme.cs
- XmlSchemaResource.cs
- StreamReader.cs
- DrawToolTipEventArgs.cs
- ISessionStateStore.cs
- Message.cs
- CoreSwitches.cs
- CompositeActivityTypeDescriptorProvider.cs
- ScriptingJsonSerializationSection.cs
- AlternateViewCollection.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataGridColumnCollection.cs
- DrawToolTipEventArgs.cs
- DesignerDataTable.cs
- ConsoleKeyInfo.cs
- Helpers.cs
- Exceptions.cs
- KerberosTokenFactoryCredential.cs
- SQLResource.cs
- Part.cs
- BigInt.cs
- CriticalFinalizerObject.cs
- WmlCalendarAdapter.cs
- RuntimeWrappedException.cs
- ContextDataSource.cs
- UInt16.cs
- ScriptResourceHandler.cs
- ListViewInsertEventArgs.cs
- ItemCollection.cs
- PackageDocument.cs
- IntellisenseTextBox.designer.cs
- ExpressionEditorSheet.cs
- PtsContext.cs
- SoapEnumAttribute.cs
- EntityDataSourceQueryBuilder.cs
- Point3DCollectionConverter.cs
- TCEAdapterGenerator.cs
- RectangleConverter.cs
- CmsUtils.cs
- Shape.cs
- CustomBinding.cs
- BitmapImage.cs
- ButtonColumn.cs
- XMLUtil.cs
- NotifyIcon.cs
- ImportOptions.cs
- DayRenderEvent.cs
- ThreadAttributes.cs
- GeneralTransform3D.cs
- WebRequestModuleElementCollection.cs
- FilterElement.cs
- ReadWriteSpinLock.cs
- DataGridViewColumnHeaderCell.cs
- PageContent.cs
- TypeExtension.cs
- WebEvents.cs
- LineServicesRun.cs
- DataGridViewDataErrorEventArgs.cs
- SafeFileMapViewHandle.cs
- RecordConverter.cs
- OleDbTransaction.cs
- PerformanceCounterPermissionEntry.cs
- TemplateBindingExtensionConverter.cs
- SimpleTypeResolver.cs
- ParentUndoUnit.cs
- RegexEditorDialog.cs
- ResolveNameEventArgs.cs
- EditingMode.cs
- ToggleProviderWrapper.cs
- TempFiles.cs
- ContentPlaceHolder.cs
- ByteConverter.cs
- NavigatorOutput.cs
- DefaultDiscoveryService.cs
- TimeStampChecker.cs
- WebPartCatalogAddVerb.cs
- BamlLocalizer.cs
- Matrix.cs
- ConfigurationPermission.cs
- EntityClassGenerator.cs
- DataGridGeneralPage.cs
- ExpressionConverter.cs
- ObjRef.cs
- ExeConfigurationFileMap.cs
- CountdownEvent.cs
- SqlFactory.cs