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
- ErrorFormatter.cs
- AmbientLight.cs
- RenderTargetBitmap.cs
- LockRecoveryTask.cs
- ResourcePart.cs
- GlyphShapingProperties.cs
- MemberDescriptor.cs
- FocusTracker.cs
- DependencyPropertyChangedEventArgs.cs
- WorkflowMarkupSerializationManager.cs
- CapiHashAlgorithm.cs
- InProcStateClientManager.cs
- SamlAuthenticationClaimResource.cs
- DelayLoadType.cs
- BufferedResponseStream.cs
- DBCommand.cs
- MasterPageCodeDomTreeGenerator.cs
- DynamicFilter.cs
- RuntimeConfig.cs
- CalendarDay.cs
- PreservationFileReader.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- XmlSchemaGroupRef.cs
- Point.cs
- PointAnimation.cs
- ToolStripContainer.cs
- ControlBuilder.cs
- SchemaLookupTable.cs
- StringOutput.cs
- DocumentCollection.cs
- WindowsComboBox.cs
- UnsafeNativeMethodsTablet.cs
- DataAdapter.cs
- DataContractSerializer.cs
- RsaKeyGen.cs
- DataTableNameHandler.cs
- ImageListUtils.cs
- DbFunctionCommandTree.cs
- SQLStringStorage.cs
- XPathItem.cs
- RangeValuePatternIdentifiers.cs
- ReadOnlyCollectionBase.cs
- RoleGroupCollection.cs
- ServicesUtilities.cs
- ToolStripEditorManager.cs
- ConnectorEditor.cs
- OracleFactory.cs
- DnsPermission.cs
- TextElementEditingBehaviorAttribute.cs
- CheckBoxList.cs
- DbBuffer.cs
- ListViewEditEventArgs.cs
- SimpleMailWebEventProvider.cs
- HScrollProperties.cs
- SendKeys.cs
- TailPinnedEventArgs.cs
- TextSearch.cs
- CustomAttributeFormatException.cs
- XmlSchemas.cs
- PlanCompiler.cs
- IssuedTokenServiceElement.cs
- DependencyPropertyKey.cs
- ListViewItemEventArgs.cs
- ResourceProperty.cs
- InputBuffer.cs
- IteratorDescriptor.cs
- ErrorHandler.cs
- CompiledScopeCriteria.cs
- XPathScanner.cs
- CompositeScriptReference.cs
- ContextMenuStrip.cs
- ColumnCollection.cs
- DocumentsTrace.cs
- BulletChrome.cs
- DataGridViewAdvancedBorderStyle.cs
- HtmlElementCollection.cs
- ProjectedWrapper.cs
- DnsPermission.cs
- SecurityHelper.cs
- OutputScope.cs
- PointF.cs
- AuthorizationRule.cs
- ResourceDisplayNameAttribute.cs
- CalculatedColumn.cs
- MatrixUtil.cs
- SqlProvider.cs
- BitmapEffect.cs
- ViewCellRelation.cs
- DictionaryItemsCollection.cs
- _TimerThread.cs
- SqlUserDefinedAggregateAttribute.cs
- UIntPtr.cs
- CertificateElement.cs
- Processor.cs
- SmtpTransport.cs
- TextParagraphCache.cs
- RolePrincipal.cs
- QueryContinueDragEvent.cs
- DBConnection.cs
- HijriCalendar.cs