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
- InheritanceAttribute.cs
- templategroup.cs
- AssociatedControlConverter.cs
- AdministrationHelpers.cs
- TouchEventArgs.cs
- LocalizabilityAttribute.cs
- BufferedGraphicsManager.cs
- InputChannelBinder.cs
- BindingManagerDataErrorEventArgs.cs
- TransactionBehavior.cs
- CodeEntryPointMethod.cs
- DrawingBrush.cs
- SHA256Cng.cs
- MimeTextImporter.cs
- ArgumentException.cs
- ImmutableCommunicationTimeouts.cs
- SafeRegistryHandle.cs
- BaseResourcesBuildProvider.cs
- HttpListenerRequest.cs
- TextFormatterHost.cs
- TextHidden.cs
- ProfilePropertySettings.cs
- WebContext.cs
- SrgsGrammarCompiler.cs
- EmptyEnumerable.cs
- PageThemeCodeDomTreeGenerator.cs
- AudioFormatConverter.cs
- AdRotator.cs
- SchemaComplexType.cs
- TextAnchor.cs
- XhtmlBasicImageAdapter.cs
- QilLiteral.cs
- CriticalExceptions.cs
- ColorMap.cs
- CryptoKeySecurity.cs
- DrawingAttributeSerializer.cs
- ObjectMemberMapping.cs
- RIPEMD160Managed.cs
- SQLGuid.cs
- AllMembershipCondition.cs
- TraceSwitch.cs
- TemplateControl.cs
- VirtualDirectoryMappingCollection.cs
- ReadOnlyState.cs
- processwaithandle.cs
- SecurityUtils.cs
- DispatcherFrame.cs
- IfAction.cs
- RowVisual.cs
- TagPrefixInfo.cs
- ColorConvertedBitmap.cs
- DataTemplateKey.cs
- HttpHandlerAction.cs
- VariantWrapper.cs
- BamlResourceContent.cs
- DbMetaDataFactory.cs
- MultiBinding.cs
- MethodBuilder.cs
- RawStylusActions.cs
- VariableReference.cs
- SelectionRange.cs
- filewebresponse.cs
- EventProviderWriter.cs
- EdgeProfileValidation.cs
- NavigatorOutput.cs
- Aggregates.cs
- DataServiceClientException.cs
- HtmlMeta.cs
- InsufficientMemoryException.cs
- ImageCollectionCodeDomSerializer.cs
- SqlExpressionNullability.cs
- TraceHandlerErrorFormatter.cs
- DataGridViewComboBoxColumn.cs
- CryptoKeySecurity.cs
- ButtonRenderer.cs
- StreamInfo.cs
- ModulesEntry.cs
- ComponentDispatcherThread.cs
- DesignerContextDescriptor.cs
- ProviderCollection.cs
- InspectionWorker.cs
- HelpInfo.cs
- XmlUtf8RawTextWriter.cs
- OletxResourceManager.cs
- BeginCreateSecurityTokenRequest.cs
- TextFormatterHost.cs
- DataGridCellEditEndingEventArgs.cs
- AppDomainCompilerProxy.cs
- XmlSchemaFacet.cs
- ResourceDisplayNameAttribute.cs
- LogFlushAsyncResult.cs
- SqlMethodAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- EntityReference.cs
- FloaterBaseParaClient.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SqlCacheDependency.cs
- AppDomain.cs
- AnnotationHighlightLayer.cs
- ThreadStateException.cs