Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1 / SystemIPv6InterfaceProperties.cs
////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. ////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // 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
- OleStrCAMarshaler.cs
- IPAddressCollection.cs
- JumpItem.cs
- _OverlappedAsyncResult.cs
- HttpRequestCacheValidator.cs
- DbConnectionPoolIdentity.cs
- GetCertificateRequest.cs
- KeyValueConfigurationCollection.cs
- FontSourceCollection.cs
- ExtensionDataObject.cs
- Substitution.cs
- MsmqHostedTransportManager.cs
- CountdownEvent.cs
- diagnosticsswitches.cs
- Filter.cs
- VisualState.cs
- WebPartConnectionsCancelEventArgs.cs
- MediaContextNotificationWindow.cs
- AuthenticationService.cs
- CreateUserErrorEventArgs.cs
- CodeIterationStatement.cs
- XmlDesigner.cs
- LinqDataSourceContextEventArgs.cs
- StickyNoteHelper.cs
- DesignerDeviceConfig.cs
- SignedPkcs7.cs
- RecommendedAsConfigurableAttribute.cs
- SmiMetaData.cs
- SelectorAutomationPeer.cs
- ThreadExceptionDialog.cs
- SafeFileMappingHandle.cs
- DataView.cs
- BaseDataBoundControlDesigner.cs
- HeaderedItemsControl.cs
- OneOfTypeConst.cs
- TakeOrSkipWhileQueryOperator.cs
- ToolStripContentPanelRenderEventArgs.cs
- NavigatingCancelEventArgs.cs
- Int16Storage.cs
- PackageStore.cs
- HitTestFilterBehavior.cs
- MergePropertyDescriptor.cs
- SrgsSubset.cs
- BrowserCapabilitiesCompiler.cs
- ProtocolsConfiguration.cs
- DisableDpiAwarenessAttribute.cs
- TextParaLineResult.cs
- StylusDevice.cs
- JsonGlobals.cs
- WhitespaceRule.cs
- ToolStripContainer.cs
- MatrixTransform.cs
- SoapAttributeAttribute.cs
- StaticExtension.cs
- HandlerWithFactory.cs
- TextServicesHost.cs
- RowTypeElement.cs
- SmtpDigestAuthenticationModule.cs
- ValidationError.cs
- SpotLight.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DependencyObjectCodeDomSerializer.cs
- MsmqAppDomainProtocolHandler.cs
- TextServicesCompartment.cs
- Clock.cs
- AutomationPropertyInfo.cs
- PageBuildProvider.cs
- SessionEndingEventArgs.cs
- TreeViewHitTestInfo.cs
- Bidi.cs
- MetadataUtilsSmi.cs
- SerializationHelper.cs
- DBConnection.cs
- Filter.cs
- SqlInternalConnectionSmi.cs
- PrintingPermission.cs
- TextParagraphProperties.cs
- TextEffectResolver.cs
- initElementDictionary.cs
- HMACRIPEMD160.cs
- InputScopeNameConverter.cs
- UndoEngine.cs
- SchemaInfo.cs
- WrappedIUnknown.cs
- IriParsingElement.cs
- ScriptResourceAttribute.cs
- KeyGesture.cs
- WebControlsSection.cs
- OpenTypeLayoutCache.cs
- HandlerWithFactory.cs
- XmlCountingReader.cs
- InvokeBinder.cs
- CompilerResults.cs
- JsonByteArrayDataContract.cs
- CodeStatementCollection.cs
- AutoCompleteStringCollection.cs
- QueryRewriter.cs
- OleDbDataAdapter.cs
- ProfessionalColorTable.cs
- BitmapEffectInputData.cs