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
- VarRemapper.cs
- WasHostedComPlusFactory.cs
- HttpRawResponse.cs
- ScriptReferenceEventArgs.cs
- PassportAuthentication.cs
- LinkedResourceCollection.cs
- XPathAxisIterator.cs
- ListDictionary.cs
- ProfileModule.cs
- ActivitySurrogateSelector.cs
- XmlUTF8TextWriter.cs
- Constraint.cs
- XamlInt32CollectionSerializer.cs
- RemotingConfigParser.cs
- TTSVoice.cs
- ArithmeticException.cs
- FilterQueryOptionExpression.cs
- SqlLiftWhereClauses.cs
- Panel.cs
- WebRequestModuleElement.cs
- DataGridPagerStyle.cs
- XmlName.cs
- ScriptControlDescriptor.cs
- LayoutTableCell.cs
- ZoneLinkButton.cs
- SettingsPropertyValueCollection.cs
- ToolStripItemRenderEventArgs.cs
- TableLayoutSettingsTypeConverter.cs
- ClusterRegistryConfigurationProvider.cs
- EntityObject.cs
- SQLUtility.cs
- DataGridViewColumn.cs
- CacheDependency.cs
- CompiledQueryCacheEntry.cs
- TrustSection.cs
- PeerUnsafeNativeMethods.cs
- UpdatePanel.cs
- XamlTemplateSerializer.cs
- UInt64Converter.cs
- WsatServiceAddress.cs
- FieldNameLookup.cs
- FormsAuthenticationTicket.cs
- nulltextnavigator.cs
- ClientFormsIdentity.cs
- PolyBezierSegment.cs
- TablePatternIdentifiers.cs
- GlyphingCache.cs
- SelectorAutomationPeer.cs
- Dispatcher.cs
- FragmentQueryKB.cs
- CursorEditor.cs
- RoleManagerModule.cs
- XmlDocument.cs
- DrawListViewColumnHeaderEventArgs.cs
- PrintPreviewControl.cs
- DoubleCollection.cs
- x509utils.cs
- EllipseGeometry.cs
- COM2Properties.cs
- LiteralLink.cs
- MaskInputRejectedEventArgs.cs
- ToolStripDropDownClosedEventArgs.cs
- ClipboardProcessor.cs
- EasingKeyFrames.cs
- unitconverter.cs
- InternalConfigEventArgs.cs
- LinkClickEvent.cs
- ControlAdapter.cs
- DesignerDataParameter.cs
- RichTextBoxAutomationPeer.cs
- FileLogRecordHeader.cs
- XmlComplianceUtil.cs
- MessageEnumerator.cs
- SetterBase.cs
- RegexCode.cs
- ProcessProtocolHandler.cs
- HotSpotCollectionEditor.cs
- RuntimeArgumentHandle.cs
- DataGridViewCellParsingEventArgs.cs
- ReflectionUtil.cs
- XAMLParseException.cs
- DataGridRelationshipRow.cs
- TransformCollection.cs
- LocalBuilder.cs
- CompiledIdentityConstraint.cs
- FrugalMap.cs
- UserControlParser.cs
- DocumentAutomationPeer.cs
- UnsafeNetInfoNativeMethods.cs
- PerfProviderCollection.cs
- DLinqAssociationProvider.cs
- _BaseOverlappedAsyncResult.cs
- PasswordPropertyTextAttribute.cs
- VisualTreeHelper.cs
- ApplicationDirectory.cs
- WebPartConnectionsDisconnectVerb.cs
- MobileContainerDesigner.cs
- SelectedDatesCollection.cs
- ServiceParser.cs
- Select.cs