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
- InfoCardRSAPKCS1SignatureDeformatter.cs
- TagMapCollection.cs
- CompletionCallbackWrapper.cs
- DocumentViewerBase.cs
- DecoderFallbackWithFailureFlag.cs
- Utils.cs
- DispatcherTimer.cs
- HtmlGenericControl.cs
- PropertyDescriptorCollection.cs
- CodeTypeReferenceExpression.cs
- RegexStringValidator.cs
- RowToParametersTransformer.cs
- IUnknownConstantAttribute.cs
- ConsoleCancelEventArgs.cs
- WorkflowFileItem.cs
- RequestQueue.cs
- HtmlTableRow.cs
- StringUtil.cs
- TypeToken.cs
- NullRuntimeConfig.cs
- PagerSettings.cs
- TimerElapsedEvenArgs.cs
- TextParagraphView.cs
- ColorAnimationUsingKeyFrames.cs
- OdbcConnectionString.cs
- SqlNotificationRequest.cs
- ImageKeyConverter.cs
- StyleCollectionEditor.cs
- UnescapedXmlDiagnosticData.cs
- RuntimeHelpers.cs
- Ray3DHitTestResult.cs
- CalendarButtonAutomationPeer.cs
- UseLicense.cs
- XmlTextReaderImpl.cs
- RegexRunnerFactory.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ReadOnlyDataSource.cs
- GCHandleCookieTable.cs
- XPathChildIterator.cs
- XmlIlGenerator.cs
- OleDbInfoMessageEvent.cs
- PerformanceCounterLib.cs
- FunctionUpdateCommand.cs
- BindableAttribute.cs
- DPCustomTypeDescriptor.cs
- HttpHeaderCollection.cs
- ExpressionLexer.cs
- AbsoluteQuery.cs
- ConsumerConnectionPoint.cs
- ToolStripSettings.cs
- KeyInfo.cs
- DataGridViewRowHeaderCell.cs
- KeyGesture.cs
- XmlWriter.cs
- PaintValueEventArgs.cs
- WebSysDescriptionAttribute.cs
- StringDictionaryWithComparer.cs
- EditorResources.cs
- ParameterCollection.cs
- FeatureSupport.cs
- TextDecorationLocationValidation.cs
- Compiler.cs
- DataGridColumnDropSeparator.cs
- ClientUrlResolverWrapper.cs
- StreamWithDictionary.cs
- ScopeElementCollection.cs
- WebConfigurationHostFileChange.cs
- HashSetEqualityComparer.cs
- LocalBuilder.cs
- ValidationHelpers.cs
- CompositeDataBoundControl.cs
- PerformanceCounterPermission.cs
- sqlstateclientmanager.cs
- OleDbErrorCollection.cs
- TableAutomationPeer.cs
- GroupStyle.cs
- TextSchema.cs
- MultiByteCodec.cs
- PlanCompilerUtil.cs
- EntitySetBaseCollection.cs
- QilGeneratorEnv.cs
- HtmlButton.cs
- DelegatedStream.cs
- UInt16Converter.cs
- CryptoConfig.cs
- oledbmetadatacolumnnames.cs
- ResourceManagerWrapper.cs
- FlowDocumentReaderAutomationPeer.cs
- KeyPressEvent.cs
- DataColumnMapping.cs
- DataServiceResponse.cs
- PageAsyncTaskManager.cs
- ResolveNameEventArgs.cs
- DiscoveryDefaults.cs
- DataGridDesigner.cs
- DataViewManagerListItemTypeDescriptor.cs
- DateRangeEvent.cs
- RuntimeConfig.cs
- MetafileHeaderWmf.cs
- BeginStoryboard.cs