Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Cryptography / DeriveBytes.cs / 1305376 / DeriveBytes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // DeriveBytes.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class DeriveBytes // On Orcas DeriveBytes is not disposable, so we cannot add the IDisposable implementation to the // CoreCLR mscorlib. However, this type does need to be disposable since subtypes can and do hold onto // native resources. Therefore, on desktop mscorlibs we add an IDisposable implementation. #if !FEATURE_CORECLR : IDisposable #endif // !FEATURE_CORECLR { // // public methods // public abstract byte[] GetBytes(int cb); public abstract void Reset(); public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } protected virtual void Dispose(bool disposing) { return; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // // // DeriveBytes.cs // namespace System.Security.Cryptography { [System.Runtime.InteropServices.ComVisible(true)] public abstract class DeriveBytes // On Orcas DeriveBytes is not disposable, so we cannot add the IDisposable implementation to the // CoreCLR mscorlib. However, this type does need to be disposable since subtypes can and do hold onto // native resources. Therefore, on desktop mscorlibs we add an IDisposable implementation. #if !FEATURE_CORECLR : IDisposable #endif // !FEATURE_CORECLR { // // public methods // public abstract byte[] GetBytes(int cb); public abstract void Reset(); public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } protected virtual void Dispose(bool disposing) { return; } } } // 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
- DescendentsWalker.cs
- SmtpCommands.cs
- StorageMappingFragment.cs
- ToolStripDropDownButton.cs
- TakeOrSkipWhileQueryOperator.cs
- XhtmlTextWriter.cs
- DynamicDiscoSearcher.cs
- WebMessageBodyStyleHelper.cs
- DocumentOrderQuery.cs
- ControlIdConverter.cs
- VerificationAttribute.cs
- QuaternionConverter.cs
- DocumentsTrace.cs
- pingexception.cs
- EpmContentDeSerializerBase.cs
- GlyphRun.cs
- XPathParser.cs
- ObjectQueryProvider.cs
- FixedSOMElement.cs
- AuthorizationRuleCollection.cs
- Region.cs
- EventMemberCodeDomSerializer.cs
- ChannelHandler.cs
- SyndicationSerializer.cs
- JsonMessageEncoderFactory.cs
- FixedTextSelectionProcessor.cs
- ColumnResult.cs
- HttpRequest.cs
- OracleRowUpdatingEventArgs.cs
- SyntaxCheck.cs
- ColorKeyFrameCollection.cs
- ObjectListDesigner.cs
- TrustManagerMoreInformation.cs
- CodeStatement.cs
- CommandField.cs
- TypeElementCollection.cs
- HotSpot.cs
- SqlBulkCopy.cs
- DefaultMemberAttribute.cs
- DbParameterCollection.cs
- BoundField.cs
- XmlDictionaryString.cs
- AddInToken.cs
- WindowsFormsSectionHandler.cs
- HtmlGenericControl.cs
- DataSetMappper.cs
- FrameDimension.cs
- GrammarBuilder.cs
- Journal.cs
- TextSelectionHelper.cs
- TypeResolver.cs
- InvokeBinder.cs
- TrackBarRenderer.cs
- CodeDefaultValueExpression.cs
- TypeConverterHelper.cs
- ListInitExpression.cs
- AsymmetricKeyExchangeFormatter.cs
- BaseValidator.cs
- ImageFormat.cs
- InstanceDataCollectionCollection.cs
- ThicknessKeyFrameCollection.cs
- AxHost.cs
- HMACRIPEMD160.cs
- DataControlImageButton.cs
- InvariantComparer.cs
- RowToFieldTransformer.cs
- UnionCqlBlock.cs
- InternalResources.cs
- NativeMethodsCLR.cs
- ExtentCqlBlock.cs
- DescendantBaseQuery.cs
- PanningMessageFilter.cs
- WorkflowServiceNamespace.cs
- KeyboardEventArgs.cs
- ParsedAttributeCollection.cs
- BitmapEffect.cs
- ZipPackage.cs
- streamingZipPartStream.cs
- XamlParser.cs
- MailHeaderInfo.cs
- OrthographicCamera.cs
- MobileRedirect.cs
- CounterSetInstance.cs
- Point4D.cs
- SyntaxCheck.cs
- PageRequestManager.cs
- XPathDocumentBuilder.cs
- SecurityChannel.cs
- IssuedTokenClientElement.cs
- ConfigurationSectionGroupCollection.cs
- XPathExpr.cs
- EntityAdapter.cs
- OverflowException.cs
- TableStyle.cs
- SafePointer.cs
- RequiredAttributeAttribute.cs
- LinkConverter.cs
- BamlStream.cs
- HotSpotCollectionEditor.cs
- SchemaElementLookUpTableEnumerator.cs