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
- MissingMemberException.cs
- GeneralTransform3DTo2DTo3D.cs
- CustomError.cs
- ArrayWithOffset.cs
- _SslState.cs
- DataQuery.cs
- ConfigPathUtility.cs
- IgnoreFileBuildProvider.cs
- UnsafeNativeMethods.cs
- ToolStripHighContrastRenderer.cs
- TextFormatter.cs
- StructuredTypeEmitter.cs
- HyperlinkAutomationPeer.cs
- GPPOINTF.cs
- IxmlLineInfo.cs
- GB18030Encoding.cs
- WebPartVerbsEventArgs.cs
- DataServiceRequestOfT.cs
- XmlAttributeProperties.cs
- HMACMD5.cs
- ResourceManager.cs
- UdpDiscoveryEndpointProvider.cs
- ResourceType.cs
- ProjectionCamera.cs
- PriorityRange.cs
- Random.cs
- SQLResource.cs
- DataSetFieldSchema.cs
- SecurityDescriptor.cs
- HttpRuntime.cs
- HighlightComponent.cs
- ProfileSettings.cs
- __FastResourceComparer.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ReverseInheritProperty.cs
- wgx_render.cs
- MarkupProperty.cs
- ScriptingScriptResourceHandlerSection.cs
- XmlSerializer.cs
- DetailsViewUpdateEventArgs.cs
- FormViewDeletedEventArgs.cs
- ConfigurationValidatorAttribute.cs
- DesignerLinkAdapter.cs
- TypedColumnHandler.cs
- SafeReversePInvokeHandle.cs
- Tablet.cs
- RightsManagementInformation.cs
- Directory.cs
- Propagator.JoinPropagator.cs
- BrowserCapabilitiesCodeGenerator.cs
- RouteParametersHelper.cs
- COM2PropertyDescriptor.cs
- ExpressionPrefixAttribute.cs
- Renderer.cs
- UnsafeNativeMethods.cs
- ImageDrawing.cs
- PropertyPushdownHelper.cs
- _BaseOverlappedAsyncResult.cs
- DependencyProperty.cs
- DefaultTextStore.cs
- SerializableAttribute.cs
- UserPersonalizationStateInfo.cs
- SettingsPropertyValueCollection.cs
- WindowsAuthenticationModule.cs
- DefaultValueAttribute.cs
- EntityWithChangeTrackerStrategy.cs
- WorkflowViewManager.cs
- dtdvalidator.cs
- InheritanceRules.cs
- ResourceCategoryAttribute.cs
- TrackBarRenderer.cs
- WindowsEditBoxRange.cs
- MatrixAnimationUsingPath.cs
- ErrorProvider.cs
- UnmanagedMarshal.cs
- XmlSchemaGroupRef.cs
- BamlRecordHelper.cs
- QueryStringParameter.cs
- OletxDependentTransaction.cs
- StoreItemCollection.cs
- Composition.cs
- ProbeDuplexAsyncResult.cs
- HierarchicalDataSourceConverter.cs
- Vector.cs
- FontDialog.cs
- HMACSHA256.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ContentControl.cs
- ConfigXmlText.cs
- DataContext.cs
- EndpointConfigContainer.cs
- ProgressBarBrushConverter.cs
- CancellationToken.cs
- DummyDataSource.cs
- TextElementCollectionHelper.cs
- ConstructorArgumentAttribute.cs
- UnknownBitmapEncoder.cs
- NetworkInformationPermission.cs
- WebResourceAttribute.cs
- ElementAtQueryOperator.cs