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
- EntityDataSourceQueryBuilder.cs
- CollectionBuilder.cs
- CqlIdentifiers.cs
- RIPEMD160Managed.cs
- Guid.cs
- WindowsMenu.cs
- IsolatedStorageFilePermission.cs
- InspectionWorker.cs
- Application.cs
- Typography.cs
- CfgParser.cs
- GridViewRow.cs
- CommandHelper.cs
- DescendentsWalker.cs
- MainMenu.cs
- ScrollPattern.cs
- DbConnectionPoolCounters.cs
- TypefaceMetricsCache.cs
- LinkedResource.cs
- WebPartChrome.cs
- GeneralTransform3D.cs
- SqlPersonalizationProvider.cs
- BooleanSwitch.cs
- AddInSegmentDirectoryNotFoundException.cs
- SByteStorage.cs
- X509CertificateClaimSet.cs
- EnumerableCollectionView.cs
- FakeModelItemImpl.cs
- ImmComposition.cs
- DesignerLinkAdapter.cs
- TreeNodeClickEventArgs.cs
- SQLDecimalStorage.cs
- CollectionViewGroupInternal.cs
- AxHost.cs
- ImpersonateTokenRef.cs
- ReaderWriterLock.cs
- ItemsPanelTemplate.cs
- ElementAtQueryOperator.cs
- NavigateUrlConverter.cs
- RecognizerBase.cs
- GuidConverter.cs
- UnsafeNativeMethods.cs
- CompressedStack.cs
- CacheDependency.cs
- WeakHashtable.cs
- NamedPermissionSet.cs
- DynamicArgumentDesigner.xaml.cs
- SqlIdentifier.cs
- Utils.cs
- BaseAutoFormat.cs
- EventMappingSettingsCollection.cs
- SearchForVirtualItemEventArgs.cs
- DataGridViewCellStyleConverter.cs
- NameValueCache.cs
- ToolStripCustomTypeDescriptor.cs
- SHA384Managed.cs
- Rect.cs
- Divide.cs
- InkCollectionBehavior.cs
- AccessViolationException.cs
- EFDataModelProvider.cs
- DrawingContext.cs
- MarshalByRefObject.cs
- CheckBox.cs
- PersonalizationEntry.cs
- UserPersonalizationStateInfo.cs
- CrossContextChannel.cs
- DebuggerAttributes.cs
- EventlogProvider.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- TypeSystem.cs
- GridViewItemAutomationPeer.cs
- TreeNodeCollectionEditor.cs
- Scene3D.cs
- StrokeNode.cs
- EventProvider.cs
- RuntimeCompatibilityAttribute.cs
- Control.cs
- WmlLabelAdapter.cs
- AssemblyAttributes.cs
- Glyph.cs
- DefaultExpression.cs
- AssemblyBuilderData.cs
- ConfigurationSchemaErrors.cs
- AdornedElementPlaceholder.cs
- StatusBarPanelClickEvent.cs
- TextTabProperties.cs
- RowsCopiedEventArgs.cs
- TransformBlockRequest.cs
- DataGridViewColumnCollection.cs
- StateValidator.cs
- OracleConnectionString.cs
- Label.cs
- _SingleItemRequestCache.cs
- InputLangChangeEvent.cs
- SimpleWebHandlerParser.cs
- Translator.cs
- ObjectStateEntry.cs
- Rights.cs
- SingleSelectRootGridEntry.cs