Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / NetworkInformation / SafeFreeMibTable.cs / 1305376 / SafeFreeMibTable.cs
using System; using System.Security; using Microsoft.Win32.SafeHandles; namespace System.Net.NetworkInformation { [SuppressUnmanagedCodeSecurity] internal class SafeFreeMibTable : SafeHandleZeroOrMinusOneIsInvalid { public SafeFreeMibTable() : base(true) { } protected override bool ReleaseHandle() { UnsafeNetInfoNativeMethods.FreeMibTable(base.handle); base.handle = IntPtr.Zero; return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Security; using Microsoft.Win32.SafeHandles; namespace System.Net.NetworkInformation { [SuppressUnmanagedCodeSecurity] internal class SafeFreeMibTable : SafeHandleZeroOrMinusOneIsInvalid { public SafeFreeMibTable() : base(true) { } protected override bool ReleaseHandle() { UnsafeNetInfoNativeMethods.FreeMibTable(base.handle); base.handle = IntPtr.Zero; return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SplayTreeNode.cs
- SystemBrushes.cs
- HostVisual.cs
- ProviderConnectionPoint.cs
- FontStyle.cs
- QueueTransferProtocol.cs
- RtfToken.cs
- XsltLoader.cs
- NotifyParentPropertyAttribute.cs
- TypeBrowserDialog.cs
- QilPatternFactory.cs
- SiteMapDesignerDataSourceView.cs
- TagMapInfo.cs
- ConnectionManagementElement.cs
- HWStack.cs
- PreviewPrintController.cs
- SerializationInfo.cs
- PropertyEntry.cs
- TypeUtil.cs
- Exception.cs
- ControlBuilderAttribute.cs
- HttpCookie.cs
- XamlFilter.cs
- _LocalDataStore.cs
- HttpListenerTimeoutManager.cs
- UpdateProgress.cs
- ContractHandle.cs
- SqlIdentifier.cs
- DataControlField.cs
- SemanticValue.cs
- DataGridViewToolTip.cs
- WeakEventTable.cs
- WebBrowserSiteBase.cs
- WeakReference.cs
- TypeGeneratedEventArgs.cs
- FormattedText.cs
- TraceHandler.cs
- LabelExpression.cs
- _NegoState.cs
- MsmqIntegrationInputChannel.cs
- FreeFormDragDropManager.cs
- __Error.cs
- AssemblyUtil.cs
- RenderData.cs
- UmAlQuraCalendar.cs
- BindingMAnagerBase.cs
- coordinatorscratchpad.cs
- TextRenderer.cs
- UrlPath.cs
- NamedPipeAppDomainProtocolHandler.cs
- PropertyCollection.cs
- SettingsSavedEventArgs.cs
- BufferedGraphicsManager.cs
- ScriptMethodAttribute.cs
- SortQuery.cs
- PropertyPathConverter.cs
- SmiSettersStream.cs
- HashLookup.cs
- ResourceDescriptionAttribute.cs
- XmlTypeAttribute.cs
- SqlBulkCopyColumnMappingCollection.cs
- RC2CryptoServiceProvider.cs
- TransformerInfoCollection.cs
- SapiInterop.cs
- EntitySetBase.cs
- OleDbWrapper.cs
- BitmapEffectGeneralTransform.cs
- SurrogateChar.cs
- HistoryEventArgs.cs
- OdbcConnectionPoolProviderInfo.cs
- QueryResults.cs
- MimeWriter.cs
- AssociationEndMember.cs
- Converter.cs
- HttpChannelBindingToken.cs
- ArraySortHelper.cs
- ListItemCollection.cs
- BorderGapMaskConverter.cs
- XamlTemplateSerializer.cs
- PeerNameResolver.cs
- ReferencedAssembly.cs
- FormatterServices.cs
- ImageInfo.cs
- XmlQuerySequence.cs
- CompilerState.cs
- StateManager.cs
- unitconverter.cs
- StringArrayEditor.cs
- listitem.cs
- TextServicesCompartmentContext.cs
- DataTable.cs
- MenuItem.cs
- DataTransferEventArgs.cs
- XmlSchemaGroupRef.cs
- EncryptedData.cs
- QueueProcessor.cs
- AccessDataSourceWizardForm.cs
- RegistrationServices.cs
- UIElementParagraph.cs
- Math.cs