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
- Point3DKeyFrameCollection.cs
- ColorInterpolationModeValidation.cs
- CheckBoxStandardAdapter.cs
- TryCatch.cs
- StorageSetMapping.cs
- ReachFixedDocumentSerializerAsync.cs
- DocumentSequence.cs
- TextServicesManager.cs
- InternalMappingException.cs
- Int32Converter.cs
- BCLDebug.cs
- ProxyRpc.cs
- ExpressionsCollectionEditor.cs
- HttpResponse.cs
- DotExpr.cs
- ViewManager.cs
- XNodeValidator.cs
- TextReader.cs
- ToolStripOverflow.cs
- ObjectCloneHelper.cs
- DataBindingExpressionBuilder.cs
- GeneralTransform3DTo2DTo3D.cs
- configsystem.cs
- MessagingDescriptionAttribute.cs
- XmlHelper.cs
- ProfileSection.cs
- DataGridViewTopRowAccessibleObject.cs
- PropertyChangedEventManager.cs
- UnwrappedTypesXmlSerializerManager.cs
- ProviderSettings.cs
- ConfigurationLocation.cs
- LinkLabelLinkClickedEvent.cs
- DispatchProxy.cs
- ReliableReplySessionChannel.cs
- DependencyPropertyValueSerializer.cs
- _LoggingObject.cs
- KoreanCalendar.cs
- ExtentCqlBlock.cs
- sqlstateclientmanager.cs
- RecognitionEventArgs.cs
- ColorAnimation.cs
- CreateParams.cs
- TextUtf8RawTextWriter.cs
- SizeF.cs
- SqlRowUpdatingEvent.cs
- UnsafeNativeMethods.cs
- GeometryCollection.cs
- XmlCustomFormatter.cs
- KoreanCalendar.cs
- PointAnimation.cs
- Span.cs
- GlyphRun.cs
- TypeTypeConverter.cs
- DSASignatureDeformatter.cs
- ValueChangedEventManager.cs
- ObjectPropertyMapping.cs
- TreeViewImageKeyConverter.cs
- GB18030Encoding.cs
- ContentElement.cs
- DatagridviewDisplayedBandsData.cs
- DefaultTextStoreTextComposition.cs
- BindUriHelper.cs
- CodeSubDirectory.cs
- EnumerableRowCollection.cs
- DataObject.cs
- PermissionSet.cs
- ResolvePPIDRequest.cs
- NativeMethods.cs
- LineServices.cs
- SectionInput.cs
- XmlEnumAttribute.cs
- XamlValidatingReader.cs
- ApplicationDirectoryMembershipCondition.cs
- DesignerWidgets.cs
- EpmSyndicationContentDeSerializer.cs
- ListViewItemSelectionChangedEvent.cs
- MouseButton.cs
- SizeLimitedCache.cs
- PositiveTimeSpanValidator.cs
- EntityContainer.cs
- StrokeCollectionDefaultValueFactory.cs
- ReadOnlyDataSource.cs
- XMLSyntaxException.cs
- ActivatedMessageQueue.cs
- PrivateFontCollection.cs
- BindingSource.cs
- XmlSerializationGeneratedCode.cs
- DataPagerField.cs
- FontDriver.cs
- SharedConnectionListener.cs
- newinstructionaction.cs
- NCryptNative.cs
- CrossAppDomainChannel.cs
- InternalCache.cs
- XPathNode.cs
- DeploymentSection.cs
- SyndicationDeserializer.cs
- EditorOptionAttribute.cs
- SchemaElement.cs
- Codec.cs