Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableItemProviderWrapper.cs
- ClientFormsAuthenticationCredentials.cs
- SizeFConverter.cs
- TabPageDesigner.cs
- CopyNodeSetAction.cs
- Content.cs
- HebrewCalendar.cs
- EntityCommandDefinition.cs
- SymLanguageType.cs
- EntityViewGenerator.cs
- AppDomainAttributes.cs
- TypeForwardedToAttribute.cs
- Frame.cs
- __Filters.cs
- PeerResolverElement.cs
- ContainerParagraph.cs
- FixedSOMContainer.cs
- XmlTextReaderImplHelpers.cs
- webclient.cs
- VerificationAttribute.cs
- HistoryEventArgs.cs
- DataGridViewTextBoxColumn.cs
- Permission.cs
- SafeRegistryHandle.cs
- dtdvalidator.cs
- NonVisualControlAttribute.cs
- Rotation3D.cs
- CodeAccessSecurityEngine.cs
- ServiceRoute.cs
- IpcChannelHelper.cs
- XmlJsonWriter.cs
- MULTI_QI.cs
- QueryResponse.cs
- ProfileProvider.cs
- FamilyTypeface.cs
- ProtocolsConfigurationHandler.cs
- StyleSelector.cs
- ScrollProviderWrapper.cs
- Permission.cs
- AdapterDictionary.cs
- TransformerConfigurationWizardBase.cs
- Condition.cs
- Trace.cs
- WindowsClientElement.cs
- MonitorWrapper.cs
- EllipseGeometry.cs
- Walker.cs
- ExpressionHelper.cs
- XmlCodeExporter.cs
- NumericUpDownAcceleration.cs
- _LocalDataStoreMgr.cs
- InvokeSchedule.cs
- Html32TextWriter.cs
- ProvidePropertyAttribute.cs
- TemplatePagerField.cs
- WebServiceBindingAttribute.cs
- RuleAttributes.cs
- QilInvokeLateBound.cs
- XmlIterators.cs
- GlobalizationSection.cs
- DrawingContextWalker.cs
- TextDpi.cs
- EventMap.cs
- SchemaMerger.cs
- SqlGenerator.cs
- ValueOfAction.cs
- HwndStylusInputProvider.cs
- ConnectionsZone.cs
- EntityDataSourceSelectingEventArgs.cs
- WebColorConverter.cs
- DoubleAnimation.cs
- AssemblyResolver.cs
- CodeBlockBuilder.cs
- XmlSchemaSubstitutionGroup.cs
- LeftCellWrapper.cs
- PartialClassGenerationTask.cs
- FixedFindEngine.cs
- HyperLinkField.cs
- FontUnit.cs
- Rfc4050KeyFormatter.cs
- RC2CryptoServiceProvider.cs
- BrowserCapabilitiesFactory.cs
- basecomparevalidator.cs
- SemanticResultKey.cs
- NavigationHelper.cs
- StringUtil.cs
- FormViewDeleteEventArgs.cs
- PassportAuthenticationEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RenderCapability.cs
- TagMapInfo.cs
- WebPartDescription.cs
- DefaultAsyncDataDispatcher.cs
- SeekStoryboard.cs
- PropertyEmitterBase.cs
- EditorPartDesigner.cs
- SoapHelper.cs
- ManifestSignedXml.cs
- WinFormsSpinner.cs
- FileLevelControlBuilderAttribute.cs