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
- Group.cs
- TextRangeProviderWrapper.cs
- ConfigXmlAttribute.cs
- XmlDictionary.cs
- DetailsViewRow.cs
- BamlTreeNode.cs
- DataServiceKeyAttribute.cs
- GridViewPageEventArgs.cs
- _NetRes.cs
- WindowsListViewItemStartMenu.cs
- StringResourceManager.cs
- _ConnectionGroup.cs
- SystemInformation.cs
- SecurityHeader.cs
- IndentTextWriter.cs
- Activator.cs
- TemplatedAdorner.cs
- ProfileElement.cs
- RecommendedAsConfigurableAttribute.cs
- StdValidatorsAndConverters.cs
- SystemIPGlobalProperties.cs
- AnnotationElement.cs
- GenericTransactionFlowAttribute.cs
- HttpProfileGroupBase.cs
- HostUtils.cs
- RectAnimationClockResource.cs
- RectConverter.cs
- IdentityHolder.cs
- Freezable.cs
- SpecialNameAttribute.cs
- ToolstripProfessionalRenderer.cs
- FactoryGenerator.cs
- ContentValidator.cs
- Image.cs
- TrustSection.cs
- IProvider.cs
- OciLobLocator.cs
- SpecialNameAttribute.cs
- WebReference.cs
- CaretElement.cs
- FlowLayout.cs
- DesignerAdapterUtil.cs
- SqlProcedureAttribute.cs
- HandlerMappingMemo.cs
- WizardForm.cs
- Comparer.cs
- ProvideValueServiceProvider.cs
- DSACryptoServiceProvider.cs
- StringExpressionSet.cs
- PageOutputColor.cs
- DesignerTextWriter.cs
- SymbolType.cs
- CodeSubDirectory.cs
- PageStatePersister.cs
- Request.cs
- StorageBasedPackageProperties.cs
- ToolStripOverflow.cs
- LayoutTableCell.cs
- Triplet.cs
- ObjectDataSourceEventArgs.cs
- IItemProperties.cs
- DataGridViewColumn.cs
- MobileUserControlDesigner.cs
- InternalControlCollection.cs
- UnitySerializationHolder.cs
- EdmProviderManifest.cs
- OptimizerPatterns.cs
- CanExecuteRoutedEventArgs.cs
- Pen.cs
- KnownBoxes.cs
- GridToolTip.cs
- IntranetCredentialPolicy.cs
- ViewValidator.cs
- PermissionListSet.cs
- FontStretch.cs
- IntegrationExceptionEventArgs.cs
- ByteConverter.cs
- ByteConverter.cs
- CornerRadiusConverter.cs
- UnsafeNativeMethods.cs
- PrimitiveXmlSerializers.cs
- XmlSchemaComplexContentRestriction.cs
- SqlGatherProducedAliases.cs
- returneventsaver.cs
- RuntimeConfigLKG.cs
- ErrorWebPart.cs
- PathBox.cs
- CharacterBufferReference.cs
- SHA512Managed.cs
- ClickablePoint.cs
- DataControlFieldCollection.cs
- XmlStreamedByteStreamReader.cs
- WhitespaceRuleLookup.cs
- UnsafeNativeMethods.cs
- LeafCellTreeNode.cs
- WinEventHandler.cs
- HtmlLink.cs
- DiscoveryMessageSequence11.cs
- KnownTypes.cs
- LocalIdCollection.cs