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
- RepeatInfo.cs
- RepeatBehaviorConverter.cs
- GACIdentityPermission.cs
- Section.cs
- DataGridViewRowHeaderCell.cs
- PDBReader.cs
- TransformedBitmap.cs
- EventDescriptor.cs
- QilInvokeEarlyBound.cs
- SecurityProtocol.cs
- TypePropertyEditor.cs
- Window.cs
- CommandID.cs
- SegmentInfo.cs
- TemplateComponentConnector.cs
- ProfileGroupSettings.cs
- SoapExtensionStream.cs
- oledbmetadatacolumnnames.cs
- RegexCompilationInfo.cs
- HwndTarget.cs
- TextTabProperties.cs
- SuspendDesigner.cs
- UnsafeNativeMethodsPenimc.cs
- StorageEntityTypeMapping.cs
- TextBoxDesigner.cs
- DockAndAnchorLayout.cs
- TextTreeText.cs
- ScriptingWebServicesSectionGroup.cs
- HttpCookie.cs
- SQLUtility.cs
- CTreeGenerator.cs
- ImageMetadata.cs
- BinaryObjectReader.cs
- CompositionTarget.cs
- XmlSortKeyAccumulator.cs
- EmbeddedObject.cs
- DefaultTextStore.cs
- CodePrimitiveExpression.cs
- IdentityManager.cs
- OrderByExpression.cs
- CompositeScriptReference.cs
- XmlDataLoader.cs
- TableAutomationPeer.cs
- AsyncCompletedEventArgs.cs
- ClrPerspective.cs
- TypeReference.cs
- DataGridViewDataConnection.cs
- Polygon.cs
- util.cs
- FloaterBaseParagraph.cs
- ParagraphResult.cs
- CompiledAction.cs
- LoadWorkflowByKeyAsyncResult.cs
- SafeIUnknown.cs
- DrawingCollection.cs
- SkipQueryOptionExpression.cs
- DateBoldEvent.cs
- DeflateStreamAsyncResult.cs
- WindowsListBox.cs
- PersonalizationAdministration.cs
- ListBoxChrome.cs
- NestedContainer.cs
- FunctionQuery.cs
- SQLDateTime.cs
- AuthorizationRule.cs
- Decimal.cs
- BatchWriter.cs
- Duration.cs
- ProcessHostServerConfig.cs
- LinqDataView.cs
- PerformanceCountersElement.cs
- TextParaLineResult.cs
- XmlDownloadManager.cs
- WrappedIUnknown.cs
- WriteFileContext.cs
- UInt32Converter.cs
- RemoteHelper.cs
- LockCookie.cs
- PrintPageEvent.cs
- SafeJobHandle.cs
- DateTimePickerDesigner.cs
- WebColorConverter.cs
- RuntimeConfigLKG.cs
- EntityConnectionStringBuilder.cs
- TreeNodeCollection.cs
- PageStatePersister.cs
- SQLDoubleStorage.cs
- EntityConnection.cs
- CollectionViewSource.cs
- handlecollector.cs
- CustomCategoryAttribute.cs
- RadialGradientBrush.cs
- BlockUIContainer.cs
- ItemList.cs
- Point.cs
- TextEditorDragDrop.cs
- WebPartCloseVerb.cs
- PathFigure.cs
- ConfigurationCollectionAttribute.cs
- CodeCommentStatementCollection.cs