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
- XmlHierarchyData.cs
- LinkUtilities.cs
- NegationPusher.cs
- MemoryMappedViewStream.cs
- BindingElement.cs
- SAPICategories.cs
- HitTestWithPointDrawingContextWalker.cs
- Trigger.cs
- TypeSource.cs
- LineGeometry.cs
- RequestCachePolicyConverter.cs
- HttpProfileBase.cs
- RegistryPermission.cs
- ByteStream.cs
- XmlLoader.cs
- listitem.cs
- SearchExpression.cs
- AssertFilter.cs
- VisualTarget.cs
- MouseGesture.cs
- ExpressionPrinter.cs
- PropertyDescriptor.cs
- PageCache.cs
- DataBinding.cs
- XhtmlBasicValidatorAdapter.cs
- ToggleButton.cs
- LogWriteRestartAreaAsyncResult.cs
- CmsUtils.cs
- Nullable.cs
- ConstructorArgumentAttribute.cs
- PinnedBufferMemoryStream.cs
- EventPrivateKey.cs
- DataGridViewRowConverter.cs
- ListItemCollection.cs
- Pen.cs
- PropertyTab.cs
- Pool.cs
- SystemMulticastIPAddressInformation.cs
- InvalidCastException.cs
- ClipboardData.cs
- BindingsCollection.cs
- PointCollectionConverter.cs
- InvokeBase.cs
- ZipIOLocalFileBlock.cs
- TdsParserStaticMethods.cs
- SystemTcpStatistics.cs
- SoapWriter.cs
- Site.cs
- ViewRendering.cs
- Exception.cs
- UnaryNode.cs
- CompilerParameters.cs
- ReflectTypeDescriptionProvider.cs
- CustomTypeDescriptor.cs
- KoreanCalendar.cs
- ToolStripContentPanelRenderEventArgs.cs
- TransformPattern.cs
- ExtractorMetadata.cs
- ProgressBar.cs
- Matrix.cs
- OLEDB_Enum.cs
- ToolStripTemplateNode.cs
- XmlSchemaAnnotated.cs
- WebPartDisplayModeCollection.cs
- ISO2022Encoding.cs
- FormsAuthentication.cs
- X509Utils.cs
- TreeNode.cs
- Calendar.cs
- HttpListenerException.cs
- ThemeableAttribute.cs
- FocusChangedEventArgs.cs
- ProgressBarBrushConverter.cs
- LinkButton.cs
- StringHandle.cs
- StoragePropertyMapping.cs
- QuadraticBezierSegment.cs
- SQLCharsStorage.cs
- SoundPlayerAction.cs
- HttpRequestBase.cs
- XmlDomTextWriter.cs
- Binding.cs
- RequestUriProcessor.cs
- XpsFilter.cs
- AssemblyBuilder.cs
- StylusPlugin.cs
- Char.cs
- SchemaElementDecl.cs
- EventItfInfo.cs
- MembershipValidatePasswordEventArgs.cs
- SpeechRecognizer.cs
- DomNameTable.cs
- BulletedList.cs
- SmtpTransport.cs
- SqlBuffer.cs
- TokenCreationException.cs
- MutableAssemblyCacheEntry.cs
- SocketAddress.cs
- CryptoHandle.cs
- XmlDeclaration.cs