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
- StackSpiller.Bindings.cs
- LocalFileSettingsProvider.cs
- StylusButtonEventArgs.cs
- ShapingEngine.cs
- MD5CryptoServiceProvider.cs
- ShapeTypeface.cs
- PerformanceCounterCategory.cs
- Deserializer.cs
- PrimitiveCodeDomSerializer.cs
- EntityTypeEmitter.cs
- ServicePointManagerElement.cs
- IPEndPoint.cs
- WebPartConnection.cs
- Stack.cs
- NativeMethods.cs
- SecurityChannelListener.cs
- DeviceOverridableAttribute.cs
- XPathQilFactory.cs
- IPHostEntry.cs
- WebPartDisplayMode.cs
- InfoCardAsymmetricCrypto.cs
- TextTreeInsertUndoUnit.cs
- ComPlusServiceLoader.cs
- ToolStripSplitStackLayout.cs
- Nodes.cs
- HttpResponseInternalWrapper.cs
- ChannelDispatcherBase.cs
- SQLInt64.cs
- DBDataPermissionAttribute.cs
- MulticastIPAddressInformationCollection.cs
- WindowsNonControl.cs
- StickyNoteAnnotations.cs
- RegexWriter.cs
- EntitySetDataBindingList.cs
- LineServices.cs
- DecoderReplacementFallback.cs
- ObjectListItemCollection.cs
- ToolboxDataAttribute.cs
- ViewManager.cs
- CompModSwitches.cs
- DataSourceCache.cs
- FrameDimension.cs
- SystemWebCachingSectionGroup.cs
- WindowsTitleBar.cs
- DataTableMapping.cs
- PerfCounterSection.cs
- DataGridViewCellStyleConverter.cs
- PropertyIDSet.cs
- Help.cs
- configsystem.cs
- KnownBoxes.cs
- TypedReference.cs
- DecoderReplacementFallback.cs
- ScrollBarRenderer.cs
- DescendentsWalker.cs
- DataTableTypeConverter.cs
- ListChangedEventArgs.cs
- ObjectCache.cs
- DataGridSortCommandEventArgs.cs
- ObjectAnimationBase.cs
- BrowserCapabilitiesCompiler.cs
- TableCellCollection.cs
- ObjectViewQueryResultData.cs
- HostedElements.cs
- IntegerValidator.cs
- BrushMappingModeValidation.cs
- HtmlInputText.cs
- CatalogZone.cs
- DbCommandDefinition.cs
- EventLogEntry.cs
- FlowLayout.cs
- DataKey.cs
- BamlRecordHelper.cs
- SqlClientWrapperSmiStreamChars.cs
- XmlCustomFormatter.cs
- BasicKeyConstraint.cs
- TimeStampChecker.cs
- IIS7WorkerRequest.cs
- XmlWriter.cs
- HttpModulesSection.cs
- SslStream.cs
- StringBuilder.cs
- WebPartDescription.cs
- GraphicsState.cs
- DetailsViewInsertEventArgs.cs
- StackSpiller.Generated.cs
- EdmToObjectNamespaceMap.cs
- ImportCatalogPart.cs
- TemplateLookupAction.cs
- HtmlTableRowCollection.cs
- VirtualPathProvider.cs
- CodeDomConfigurationHandler.cs
- RequestCachingSection.cs
- TrustLevelCollection.cs
- WindowInteropHelper.cs
- ProviderIncompatibleException.cs
- TraceFilter.cs
- FormsAuthenticationUserCollection.cs
- XpsFont.cs
- DragDrop.cs