Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1305376 / 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
- EventLog.cs
- SafeMarshalContext.cs
- TreeNode.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WindowsFormsSectionHandler.cs
- Comparer.cs
- MetadataItemEmitter.cs
- XmlSchemaSimpleContentExtension.cs
- ImageCodecInfoPrivate.cs
- PhonemeConverter.cs
- ProxyFragment.cs
- CodeTypeDeclarationCollection.cs
- CellIdBoolean.cs
- AccessedThroughPropertyAttribute.cs
- Effect.cs
- exports.cs
- AsyncOperationManager.cs
- SqlColumnizer.cs
- LineVisual.cs
- TriggerActionCollection.cs
- IntSecurity.cs
- SymLanguageVendor.cs
- CorrelationToken.cs
- ObjectComplexPropertyMapping.cs
- ScopedKnownTypes.cs
- RenderingEventArgs.cs
- ChildrenQuery.cs
- Model3DCollection.cs
- AbandonedMutexException.cs
- TextRangeAdaptor.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- PerformanceCounterCategory.cs
- ConversionContext.cs
- InvalidComObjectException.cs
- WebPartDisplayModeCollection.cs
- XPathNavigatorKeyComparer.cs
- TextParagraphProperties.cs
- CqlParser.cs
- SpotLight.cs
- SafeNativeMethods.cs
- RecordBuilder.cs
- DateTimeConstantAttribute.cs
- HtmlTernaryTree.cs
- SoapCodeExporter.cs
- EventRecord.cs
- VarInfo.cs
- XmlDataSource.cs
- CompiledQuery.cs
- SafeNativeMethods.cs
- Variant.cs
- UInt32Converter.cs
- CaseStatement.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlAttribute.cs
- BulletedListEventArgs.cs
- ConfigurationElement.cs
- FilterException.cs
- SqlMethodAttribute.cs
- FixUp.cs
- TdsParserSessionPool.cs
- ImpersonateTokenRef.cs
- DataGridCellsPanel.cs
- WebBrowser.cs
- RenderData.cs
- AttributeExtensions.cs
- ConnectionsZone.cs
- PageAction.cs
- MultiViewDesigner.cs
- DataRecordInternal.cs
- SerializerDescriptor.cs
- _NegoStream.cs
- NavigatorOutput.cs
- OdbcConnectionOpen.cs
- SqlDataReader.cs
- GlyphRunDrawing.cs
- MulticastOption.cs
- CryptoApi.cs
- _OverlappedAsyncResult.cs
- PeerIPHelper.cs
- OpenFileDialog.cs
- ClientOperation.cs
- PackWebRequest.cs
- KeyInterop.cs
- ExpanderAutomationPeer.cs
- PeerNameRecord.cs
- DataGridViewColumn.cs
- PermissionSet.cs
- IteratorDescriptor.cs
- x509utils.cs
- ExpressionUtilities.cs
- AsyncOperationContext.cs
- ResourceProperty.cs
- HtmlTableRow.cs
- RevocationPoint.cs
- UnauthorizedAccessException.cs
- XmlNodeChangedEventArgs.cs
- ApplicationServiceManager.cs
- Size.cs
- ApplicationSettingsBase.cs
- Attributes.cs