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
- XmlSchemaComplexType.cs
- CharAnimationBase.cs
- CallSiteHelpers.cs
- CustomTokenProvider.cs
- DataTableMappingCollection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- CroppedBitmap.cs
- ProfileSection.cs
- Content.cs
- MetadataItemEmitter.cs
- SecureEnvironment.cs
- NamedPermissionSet.cs
- MessageSecurityProtocolFactory.cs
- WebBrowserHelper.cs
- ActivityDefaults.cs
- HostedElements.cs
- CopyOnWriteList.cs
- ObjectDataSourceEventArgs.cs
- BinaryConverter.cs
- QilIterator.cs
- ConfigurationLocation.cs
- CollectionType.cs
- UnsafeNativeMethods.cs
- BypassElement.cs
- Collection.cs
- SQLGuid.cs
- DesignTimeTemplateParser.cs
- CompilerErrorCollection.cs
- SmiTypedGetterSetter.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- StorageMappingFragment.cs
- InputLanguageCollection.cs
- infer.cs
- DES.cs
- StyleSheetRefUrlEditor.cs
- PeerHelpers.cs
- TraversalRequest.cs
- TimeSpanParse.cs
- InvokePattern.cs
- CodeExpressionCollection.cs
- BinaryObjectReader.cs
- SafeLocalMemHandle.cs
- CaseKeyBox.xaml.cs
- RequestTimeoutManager.cs
- FixUp.cs
- TargetConverter.cs
- SizeIndependentAnimationStorage.cs
- InputMethodStateChangeEventArgs.cs
- DoneReceivingAsyncResult.cs
- CheckStoreFileValidityRequest.cs
- SynchronizationFilter.cs
- InputBindingCollection.cs
- XmlParserContext.cs
- httpserverutility.cs
- LoginCancelEventArgs.cs
- OracleCommandBuilder.cs
- ServicePointManagerElement.cs
- HttpInputStream.cs
- MachineKeySection.cs
- HyperLinkStyle.cs
- XPathException.cs
- PropertyMetadata.cs
- DataGridViewRowEventArgs.cs
- SslStream.cs
- InstancePersistence.cs
- DetailsViewDeletedEventArgs.cs
- AutomationIdentifierGuids.cs
- BigInt.cs
- SchemaAttDef.cs
- ValueUnavailableException.cs
- PriorityItem.cs
- DecimalFormatter.cs
- PersonalizableAttribute.cs
- DataConnectionHelper.cs
- ZipPackagePart.cs
- EncryptRequest.cs
- StorageScalarPropertyMapping.cs
- SqlBooleanizer.cs
- DrawListViewItemEventArgs.cs
- ChtmlImageAdapter.cs
- Transform3DGroup.cs
- LineBreakRecord.cs
- ExceptionNotification.cs
- LabelTarget.cs
- ChildrenQuery.cs
- ConfigurationStrings.cs
- ListItemCollection.cs
- WebConfigurationHost.cs
- XmlAttributeAttribute.cs
- EventDescriptorCollection.cs
- SoapFaultCodes.cs
- DataKey.cs
- UnicastIPAddressInformationCollection.cs
- ArgumentOutOfRangeException.cs
- EventLogEntry.cs
- SqlClientWrapperSmiStream.cs
- XmlWriterSettings.cs
- ObjectContextServiceProvider.cs
- DataGridViewColumnEventArgs.cs
- XmlDigitalSignatureProcessor.cs