Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / HashCryptoHandle.cs / 1305376 / HashCryptoHandle.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Selectors { using System; using System.Runtime.InteropServices; using System.Threading; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // Wraps a HashCryptoSession // internal class HashCryptoHandle : CryptoHandle { public HashCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcHashCryptoParameters ) ) { } private HashCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new HashCryptoHandle( InternalHandle ); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Selectors { using System; using System.Runtime.InteropServices; using System.Threading; using IDT=Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // Wraps a HashCryptoSession // internal class HashCryptoHandle : CryptoHandle { public HashCryptoHandle( InternalRefCountedHandle nativeHandle, DateTime expiration, IntPtr parameters ) : base( nativeHandle, expiration, parameters, typeof( RpcHashCryptoParameters ) ) { } private HashCryptoHandle( InternalRefCountedHandle internalHandle ) : base( internalHandle ) {} protected override CryptoHandle OnDuplicate() { return new HashCryptoHandle( InternalHandle ); } } } // 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
- BookmarkUndoUnit.cs
- ListControlStringCollectionEditor.cs
- Triplet.cs
- BStrWrapper.cs
- unsafenativemethodsother.cs
- PropertyStore.cs
- XmlSchemaComplexContentExtension.cs
- ThumbButtonInfo.cs
- XPathEmptyIterator.cs
- SimpleWebHandlerParser.cs
- DataListItemEventArgs.cs
- SQLBytes.cs
- TextDecorationCollection.cs
- TableLayoutPanelResizeGlyph.cs
- TransactionScope.cs
- storagemappingitemcollection.viewdictionary.cs
- BaseProcessor.cs
- XamlToRtfWriter.cs
- ReadOnlyDataSourceView.cs
- CollectionBuilder.cs
- StandardBindingElement.cs
- StrokeCollectionConverter.cs
- safelink.cs
- BackEase.cs
- Panel.cs
- EdmSchemaAttribute.cs
- CounterSampleCalculator.cs
- LinqDataSourceContextEventArgs.cs
- TransactionFlowBindingElement.cs
- TextParaClient.cs
- RawStylusInputCustomDataList.cs
- ReadOnlyCollection.cs
- CallTemplateAction.cs
- Stack.cs
- SiteMapNodeItem.cs
- LassoSelectionBehavior.cs
- TagPrefixInfo.cs
- HtmlElementCollection.cs
- XmlSchemaValidator.cs
- HwndProxyElementProvider.cs
- ProvideValueServiceProvider.cs
- WrapPanel.cs
- BindingContext.cs
- GenericUriParser.cs
- Line.cs
- CombinedHttpChannel.cs
- ValueSerializerAttribute.cs
- TcpTransportElement.cs
- XmlSchemaSimpleTypeList.cs
- BasicBrowserDialog.cs
- Screen.cs
- QilInvokeLateBound.cs
- GridViewAutomationPeer.cs
- AssemblyNameProxy.cs
- ImageListDesigner.cs
- Literal.cs
- Transform3DCollection.cs
- ContentFileHelper.cs
- _DomainName.cs
- SecurityTokenTypes.cs
- WorkflowApplicationException.cs
- BooleanAnimationBase.cs
- ContentFilePart.cs
- FixedSOMPageConstructor.cs
- VirtualizingStackPanel.cs
- Action.cs
- InputProviderSite.cs
- FormsAuthenticationUser.cs
- _FtpControlStream.cs
- TraceContextRecord.cs
- CategoryGridEntry.cs
- counter.cs
- Matrix.cs
- FacetChecker.cs
- DataRecordInternal.cs
- EntityModelSchemaGenerator.cs
- ObjectDataProvider.cs
- DbMetaDataCollectionNames.cs
- ButtonChrome.cs
- PrintPreviewDialog.cs
- DbInsertCommandTree.cs
- Pens.cs
- TypeCodeDomSerializer.cs
- COM2ExtendedBrowsingHandler.cs
- GeometryGroup.cs
- TransactedReceiveData.cs
- ProtocolElement.cs
- CodeGroup.cs
- TextureBrush.cs
- updateconfighost.cs
- ImageFormat.cs
- ConfigurationStrings.cs
- WebCategoryAttribute.cs
- ClrProviderManifest.cs
- ParallelTimeline.cs
- LocalsItemDescription.cs
- OutputCacheSettingsSection.cs
- DataGridViewRow.cs
- EmulateRecognizeCompletedEventArgs.cs
- SerializationEventsCache.cs