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
- RuleProcessor.cs
- EncryptedReference.cs
- BindingNavigatorDesigner.cs
- PlainXmlDeserializer.cs
- OleDbInfoMessageEvent.cs
- WebPageTraceListener.cs
- PropertyTabChangedEvent.cs
- TextStore.cs
- MasterPage.cs
- DataGridViewTopRowAccessibleObject.cs
- DataGridViewCellStateChangedEventArgs.cs
- SchemaMerger.cs
- DataGridViewComponentPropertyGridSite.cs
- RegexRunnerFactory.cs
- Point3DAnimation.cs
- PhonemeEventArgs.cs
- AutomationIdentifier.cs
- StorageMappingFragment.cs
- CodeAccessSecurityEngine.cs
- HttpUnhandledOperationInvoker.cs
- MsmqIntegrationBindingElement.cs
- COM2ComponentEditor.cs
- AssemblyName.cs
- ReaderContextStackData.cs
- FixedDocument.cs
- grammarelement.cs
- CancellationScope.cs
- SerializationInfoEnumerator.cs
- OptimizedTemplateContentHelper.cs
- CollectionChangedEventManager.cs
- UnauthorizedWebPart.cs
- ComponentCommands.cs
- QueryAsyncResult.cs
- MemberInfoSerializationHolder.cs
- ClientSettingsSection.cs
- URL.cs
- FileSystemEnumerable.cs
- newitemfactory.cs
- XmlAttributes.cs
- BamlTreeNode.cs
- MailAddressCollection.cs
- PermissionRequestEvidence.cs
- ProxyWebPartConnectionCollection.cs
- ToolBarTray.cs
- DomainLiteralReader.cs
- CompatibleComparer.cs
- CopyCodeAction.cs
- RegistryKey.cs
- DataGridTableStyleMappingNameEditor.cs
- DBSchemaRow.cs
- DataGridToolTip.cs
- OneOfTypeConst.cs
- ValueProviderWrapper.cs
- OleDbReferenceCollection.cs
- ImageListImage.cs
- ConfigurationPropertyCollection.cs
- SecurityElement.cs
- TransformerInfoCollection.cs
- _TimerThread.cs
- VariableModifiersHelper.cs
- TextSelectionProcessor.cs
- ObjectView.cs
- WebPartConnectionsCloseVerb.cs
- FormsAuthenticationEventArgs.cs
- NodeLabelEditEvent.cs
- DataGridCommandEventArgs.cs
- ThrowOnMultipleAssignment.cs
- ValidationRule.cs
- SqlPersonalizationProvider.cs
- Parallel.cs
- Encoder.cs
- ProtocolViolationException.cs
- NeutralResourcesLanguageAttribute.cs
- DBParameter.cs
- TrustLevel.cs
- MultipartContentParser.cs
- DataGridViewSelectedColumnCollection.cs
- HierarchicalDataTemplate.cs
- PasswordDeriveBytes.cs
- SyndicationDeserializer.cs
- XNodeValidator.cs
- MSG.cs
- CreateParams.cs
- ObjectMaterializedEventArgs.cs
- XmlReflectionMember.cs
- AccessDataSourceView.cs
- COM2PropertyDescriptor.cs
- X509Extension.cs
- ButtonColumn.cs
- ScriptModule.cs
- CmsUtils.cs
- IteratorFilter.cs
- GcHandle.cs
- WindowsGraphics2.cs
- DataSourceControlBuilder.cs
- WebBrowserHelper.cs
- MenuItemBinding.cs
- FileRecordSequence.cs
- CompilerParameters.cs
- StorageTypeMapping.cs