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
- WebPartVerbCollection.cs
- DataGridRelationshipRow.cs
- SpoolingTask.cs
- WindowInteropHelper.cs
- ButtonBase.cs
- XmlAnyAttributeAttribute.cs
- ConfigurationManager.cs
- EventMappingSettingsCollection.cs
- Figure.cs
- EntityParameter.cs
- OdbcDataReader.cs
- MatrixCamera.cs
- DataTableNewRowEvent.cs
- TimeSpanParse.cs
- DataBinding.cs
- TextRangeProviderWrapper.cs
- EventListener.cs
- Activator.cs
- CompilerErrorCollection.cs
- ChtmlTextWriter.cs
- ElementsClipboardData.cs
- ServiceX509SecurityTokenProvider.cs
- LabelAutomationPeer.cs
- ConstrainedDataObject.cs
- StylusTip.cs
- RadioButtonAutomationPeer.cs
- ClusterRegistryConfigurationProvider.cs
- ProxyFragment.cs
- DataStorage.cs
- Set.cs
- OAVariantLib.cs
- StrictAndMessageFilter.cs
- AuthenticateEventArgs.cs
- CodeMethodReturnStatement.cs
- PropertyGridEditorPart.cs
- HttpDebugHandler.cs
- ResourceCategoryAttribute.cs
- CapacityStreamGeometryContext.cs
- DataAccessor.cs
- OrderablePartitioner.cs
- UnwrappedTypesXmlSerializerManager.cs
- COM2IDispatchConverter.cs
- RelatedCurrencyManager.cs
- OdbcParameter.cs
- EventProxy.cs
- DetailsViewDeletedEventArgs.cs
- WebPartDescriptionCollection.cs
- HttpsHostedTransportConfiguration.cs
- Model3DCollection.cs
- Help.cs
- XslAst.cs
- GenericTextProperties.cs
- FixedHyperLink.cs
- TraceUtility.cs
- ArgumentsParser.cs
- COAUTHINFO.cs
- SizeIndependentAnimationStorage.cs
- CustomWebEventKey.cs
- AddingNewEventArgs.cs
- KoreanLunisolarCalendar.cs
- OleDbTransaction.cs
- AtlasWeb.Designer.cs
- SmiEventSink_Default.cs
- _RequestCacheProtocol.cs
- ColumnResizeUndoUnit.cs
- CultureInfo.cs
- ServiceRoute.cs
- WebPartExportVerb.cs
- GroupBoxRenderer.cs
- ListViewSelectEventArgs.cs
- NullableBoolConverter.cs
- ResourceDescriptionAttribute.cs
- HtmlTableCell.cs
- MatchingStyle.cs
- ProfileEventArgs.cs
- IPPacketInformation.cs
- MouseEventArgs.cs
- UniqueIdentifierService.cs
- DataBoundLiteralControl.cs
- ETagAttribute.cs
- IsolatedStorageFileStream.cs
- MessageHeaderDescription.cs
- DoubleIndependentAnimationStorage.cs
- SchemaImporterExtensionElement.cs
- SoapConverter.cs
- InstanceKeyCompleteException.cs
- ServicePerformanceCounters.cs
- BinaryFormatter.cs
- NetMsmqSecurity.cs
- AuthorizationSection.cs
- GeneratedView.cs
- IconEditor.cs
- DesignerActionHeaderItem.cs
- MethodRental.cs
- IgnoreFileBuildProvider.cs
- TemplateXamlTreeBuilder.cs
- ValueTable.cs
- CertificateElement.cs
- Range.cs
- JoinElimination.cs