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
- FatalException.cs
- HttpRequestCacheValidator.cs
- WorkflowRuntime.cs
- StrongNameMembershipCondition.cs
- WinFormsSpinner.cs
- SpotLight.cs
- InvalidPropValue.cs
- ACL.cs
- DataGridViewComboBoxColumn.cs
- HyperLinkDesigner.cs
- HMACSHA384.cs
- DiscreteKeyFrames.cs
- PointLightBase.cs
- SaveFileDialog.cs
- GcHandle.cs
- Odbc32.cs
- CheckBoxList.cs
- BufferAllocator.cs
- StatusStrip.cs
- Decoder.cs
- SettingsBindableAttribute.cs
- Simplifier.cs
- SqlNodeAnnotation.cs
- XPathItem.cs
- UnauthorizedWebPart.cs
- TagPrefixInfo.cs
- SizeConverter.cs
- CompareInfo.cs
- PolyBezierSegment.cs
- ExecutionContext.cs
- ReflectionServiceProvider.cs
- XamlClipboardData.cs
- IndexingContentUnit.cs
- MatrixAnimationBase.cs
- ContextBase.cs
- ServiceHostingEnvironment.cs
- DataDesignUtil.cs
- xamlnodes.cs
- ObsoleteAttribute.cs
- PopOutPanel.cs
- AssemblyAttributesGoHere.cs
- WindowsPrincipal.cs
- XPathNodePointer.cs
- TablePattern.cs
- SEHException.cs
- XPathNodeHelper.cs
- PolicyUnit.cs
- TextTreeDeleteContentUndoUnit.cs
- NullableDecimalMinMaxAggregationOperator.cs
- RelationalExpressions.cs
- WebPartConnectionsEventArgs.cs
- LayoutEngine.cs
- SessionStateUtil.cs
- SQLByte.cs
- StreamGeometryContext.cs
- RequestCacheEntry.cs
- QilTargetType.cs
- CopyOfAction.cs
- XPathDocumentBuilder.cs
- ScriptIgnoreAttribute.cs
- ContentHostHelper.cs
- MobileControl.cs
- XmlUtil.cs
- PeerTransportCredentialType.cs
- SpeakInfo.cs
- BoolExpr.cs
- StdValidatorsAndConverters.cs
- PolicyUnit.cs
- HWStack.cs
- PhysicalFontFamily.cs
- GridViewAutomationPeer.cs
- ParameterCollection.cs
- RegistrySecurity.cs
- ConsoleCancelEventArgs.cs
- WebBrowsableAttribute.cs
- PreservationFileReader.cs
- ClusterSafeNativeMethods.cs
- XPathNodeInfoAtom.cs
- GridEntry.cs
- TimeStampChecker.cs
- SoapCodeExporter.cs
- AccessDataSourceView.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SQLString.cs
- AuthenticateEventArgs.cs
- ChildChangedEventArgs.cs
- ToolStripDropDownClosingEventArgs.cs
- LayoutUtils.cs
- FixedBufferAttribute.cs
- ComplusTypeValidator.cs
- UnknownBitmapEncoder.cs
- XmlStringTable.cs
- StringAttributeCollection.cs
- ListView.cs
- ReliabilityContractAttribute.cs
- ValidatingReaderNodeData.cs
- MimeMapping.cs
- Queue.cs
- ParameterCollection.cs
- StyleSelector.cs