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
- SchemaCollectionPreprocessor.cs
- EDesignUtil.cs
- EventToken.cs
- InvalidProgramException.cs
- AssociationSet.cs
- SelectionListComponentEditor.cs
- XmlSchemaAny.cs
- JsonReaderWriterFactory.cs
- DataTemplateSelector.cs
- SafeHGlobalHandleCritical.cs
- AssociativeAggregationOperator.cs
- ComPlusServiceLoader.cs
- BitmapEffectInput.cs
- ListenerConfig.cs
- HtmlHistory.cs
- _KerberosClient.cs
- Size3DValueSerializer.cs
- Interlocked.cs
- ReferencedAssembly.cs
- WebRequestModuleElementCollection.cs
- ComplusTypeValidator.cs
- CodeParameterDeclarationExpression.cs
- TreeNodeCollection.cs
- AspProxy.cs
- PropertyFilterAttribute.cs
- MultiView.cs
- ObjectListItem.cs
- SchemeSettingElementCollection.cs
- WizardPanelChangingEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- TableColumn.cs
- ExpressionBinding.cs
- CheckBox.cs
- NodeFunctions.cs
- cryptoapiTransform.cs
- StorageScalarPropertyMapping.cs
- objectresult_tresulttype.cs
- BatchServiceHost.cs
- SqlDuplicator.cs
- _ConnectStream.cs
- SafeNativeMethods.cs
- XmlStreamStore.cs
- WebBrowserSiteBase.cs
- AssociationEndMember.cs
- XmlDataCollection.cs
- PersistenceProviderDirectory.cs
- JpegBitmapEncoder.cs
- MsmqIntegrationMessagePool.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- GrammarBuilderDictation.cs
- RegexMatchCollection.cs
- CommunicationException.cs
- AsyncPostBackTrigger.cs
- MatrixTransform.cs
- KeyProperty.cs
- Int16Converter.cs
- ConvertEvent.cs
- NodeFunctions.cs
- ToolConsole.cs
- Expressions.cs
- WebPartVerb.cs
- TemplateControl.cs
- SerializationException.cs
- UtilityExtension.cs
- TabItemWrapperAutomationPeer.cs
- BindingMemberInfo.cs
- MatrixUtil.cs
- Rect3DConverter.cs
- BamlStream.cs
- UniformGrid.cs
- CaseInsensitiveHashCodeProvider.cs
- FixedPageProcessor.cs
- CompositeScriptReference.cs
- XmlSchemaInclude.cs
- LockRecursionException.cs
- _Win32.cs
- ListView.cs
- PriorityRange.cs
- UpnEndpointIdentityExtension.cs
- SwitchAttribute.cs
- GridSplitterAutomationPeer.cs
- SafeNativeMethods.cs
- TrustManagerPromptUI.cs
- XmlSchemaGroup.cs
- ImageListImageEditor.cs
- GeneralTransform.cs
- MediaScriptCommandRoutedEventArgs.cs
- TypeUtil.cs
- StreamGeometry.cs
- EntityCommandExecutionException.cs
- CTreeGenerator.cs
- UIElement.cs
- LogConverter.cs
- InternalTypeHelper.cs
- RegexNode.cs
- XPathDescendantIterator.cs
- XmlSchemaAll.cs
- SqlCharStream.cs
- EFTableProvider.cs
- InternalCache.cs