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
- NGCSerializationManagerAsync.cs
- ListBindingHelper.cs
- XmlMemberMapping.cs
- QilName.cs
- ControlCachePolicy.cs
- UITypeEditors.cs
- LockedAssemblyCache.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- CacheVirtualItemsEvent.cs
- MatrixKeyFrameCollection.cs
- SafePEFileHandle.cs
- XXXInfos.cs
- CompressionTransform.cs
- ResXResourceSet.cs
- VariableValue.cs
- BindingsCollection.cs
- ControlAdapter.cs
- ProtectedProviderSettings.cs
- DataObject.cs
- SafeNativeMethods.cs
- TagNameToTypeMapper.cs
- SettingsBase.cs
- BindableTemplateBuilder.cs
- SafeProcessHandle.cs
- ObjectQuery_EntitySqlExtensions.cs
- DescendantQuery.cs
- JsonStringDataContract.cs
- GridViewRow.cs
- ListViewInsertEventArgs.cs
- ReceiveMessageContent.cs
- WindowsScroll.cs
- ParserExtension.cs
- HostnameComparisonMode.cs
- DataStreamFromComStream.cs
- DesignSurfaceCollection.cs
- RowSpanVector.cs
- DataGridBoolColumn.cs
- ControllableStoryboardAction.cs
- InvalidPropValue.cs
- RtfControls.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SystemBrushes.cs
- ElementProxy.cs
- GridViewRowEventArgs.cs
- XmlWriterSettings.cs
- EntityRecordInfo.cs
- ColumnResizeUndoUnit.cs
- DataGridViewColumn.cs
- PageStatePersister.cs
- ObjectDataSourceStatusEventArgs.cs
- MessageQueueTransaction.cs
- PreservationFileReader.cs
- Ray3DHitTestResult.cs
- SymbolType.cs
- ReceiveContent.cs
- ThicknessKeyFrameCollection.cs
- EventRecord.cs
- SecurityToken.cs
- JsonClassDataContract.cs
- ContextStaticAttribute.cs
- SingleObjectCollection.cs
- RowToFieldTransformer.cs
- StatusBarAutomationPeer.cs
- TdsParserStaticMethods.cs
- SplitContainerDesigner.cs
- DictionaryEditChange.cs
- CaseDesigner.xaml.cs
- ObservableCollection.cs
- AsyncPostBackTrigger.cs
- TextEndOfSegment.cs
- WindowsHyperlink.cs
- SqlDataSourceView.cs
- JsonStringDataContract.cs
- PersonalizationProviderHelper.cs
- HwndTarget.cs
- BigInt.cs
- SymmetricCryptoHandle.cs
- ZoneIdentityPermission.cs
- PersonalizationProvider.cs
- entityreference_tresulttype.cs
- NumberAction.cs
- _SpnDictionary.cs
- UserControl.cs
- OAVariantLib.cs
- DocumentApplication.cs
- Number.cs
- AssemblyBuilder.cs
- SqlTransaction.cs
- TextSelectionProcessor.cs
- LogEntrySerializationException.cs
- RbTree.cs
- TileModeValidation.cs
- BasicCommandTreeVisitor.cs
- ListViewCommandEventArgs.cs
- CollectionContainer.cs
- MtomMessageEncodingBindingElement.cs
- HMACRIPEMD160.cs
- VisualStyleInformation.cs
- WindowsAuthenticationModule.cs
- KnownAssemblyEntry.cs