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
- AuthenticationManager.cs
- GlyphRunDrawing.cs
- ReliableChannelBinder.cs
- ClosureBinding.cs
- OracleCommandSet.cs
- Rotation3DAnimationBase.cs
- SqlDataSourceStatusEventArgs.cs
- Win32Exception.cs
- StandardCommands.cs
- SendActivityValidator.cs
- EndPoint.cs
- Directory.cs
- FolderNameEditor.cs
- wmiutil.cs
- VersionPair.cs
- RootDesignerSerializerAttribute.cs
- BlobPersonalizationState.cs
- TypefaceMetricsCache.cs
- ControlAdapter.cs
- ObjectDataSourceFilteringEventArgs.cs
- SystemIPGlobalStatistics.cs
- XmlIlTypeHelper.cs
- SAPICategories.cs
- OracleCommandBuilder.cs
- AsyncInvokeOperation.cs
- MarkupWriter.cs
- CookieProtection.cs
- StringKeyFrameCollection.cs
- EditableTreeList.cs
- pingexception.cs
- Axis.cs
- CodeMethodInvokeExpression.cs
- BaseUriHelper.cs
- LineUtil.cs
- ItemsControl.cs
- CharConverter.cs
- BindingMemberInfo.cs
- CachedRequestParams.cs
- TemplateBindingExtension.cs
- PreviousTrackingServiceAttribute.cs
- HttpListenerException.cs
- SoapReflector.cs
- DataServices.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SqlDataReaderSmi.cs
- CssStyleCollection.cs
- Camera.cs
- ObjectConverter.cs
- Validator.cs
- Size.cs
- ExtensionQuery.cs
- KnownTypesProvider.cs
- XmlName.cs
- UInt32Converter.cs
- NumberFormatter.cs
- TextBoxBase.cs
- OrderToken.cs
- Currency.cs
- COM2Properties.cs
- ObjectCache.cs
- WhitespaceRule.cs
- ListParagraph.cs
- InputLanguageEventArgs.cs
- PartialCachingAttribute.cs
- StrongName.cs
- BaseInfoTable.cs
- WmpBitmapDecoder.cs
- AddingNewEventArgs.cs
- DataServiceHost.cs
- parserscommon.cs
- WindowsGraphics2.cs
- Latin1Encoding.cs
- DataGridViewColumnTypeEditor.cs
- ResourceSet.cs
- ParentQuery.cs
- DataControlButton.cs
- DoubleLinkList.cs
- WinFormsComponentEditor.cs
- EnumUnknown.cs
- WebPartMinimizeVerb.cs
- ConstraintEnumerator.cs
- TableLayoutPanel.cs
- Command.cs
- XmlSecureResolver.cs
- MemoryFailPoint.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ProfileProvider.cs
- Flowchart.cs
- ProtocolsSection.cs
- MonitorWrapper.cs
- AsyncResult.cs
- AppSecurityManager.cs
- DbProviderFactories.cs
- ConstraintCollection.cs
- HealthMonitoringSectionHelper.cs
- ContextProperty.cs
- HttpClientCertificate.cs
- DragStartedEventArgs.cs
- x509utils.cs
- DuplicateWaitObjectException.cs