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
- FunctionNode.cs
- BasicCellRelation.cs
- DocumentStream.cs
- WebPartConnectionCollection.cs
- _RequestLifetimeSetter.cs
- SettingsPropertyIsReadOnlyException.cs
- MetabaseReader.cs
- COAUTHIDENTITY.cs
- SizeChangedEventArgs.cs
- BitVector32.cs
- MappingException.cs
- MailDefinition.cs
- DesignBindingPropertyDescriptor.cs
- Comparer.cs
- ObjectTag.cs
- Convert.cs
- ViewEventArgs.cs
- NullableDoubleSumAggregationOperator.cs
- BamlResourceDeserializer.cs
- COAUTHINFO.cs
- XmlTextReaderImplHelpers.cs
- DatagridviewDisplayedBandsData.cs
- TreeViewAutomationPeer.cs
- UInt32.cs
- ButtonStandardAdapter.cs
- PropertyTab.cs
- HandlerBase.cs
- PenContexts.cs
- Base64Encoder.cs
- ParallelTimeline.cs
- ProfessionalColorTable.cs
- ProvidersHelper.cs
- TypeInformation.cs
- MediaSystem.cs
- ObjectDisposedException.cs
- EncryptedPackage.cs
- SqlWorkflowPersistenceService.cs
- FamilyCollection.cs
- WebGetAttribute.cs
- XmlException.cs
- ValidationErrorEventArgs.cs
- DataGridViewAccessibleObject.cs
- StickyNote.cs
- ObjectViewQueryResultData.cs
- ArrayWithOffset.cs
- FileDataSource.cs
- DropSource.cs
- DataGridViewDataConnection.cs
- EntityProviderServices.cs
- TextParagraphCache.cs
- ItemCollection.cs
- SurrogateEncoder.cs
- OracleLob.cs
- ObjectTag.cs
- ColorDialog.cs
- XmlTextReaderImpl.cs
- FamilyTypeface.cs
- ValidatingReaderNodeData.cs
- ResourceExpressionBuilder.cs
- PaintValueEventArgs.cs
- XPathParser.cs
- ProgressPage.cs
- AspNetPartialTrustHelpers.cs
- _AutoWebProxyScriptHelper.cs
- ResXResourceWriter.cs
- CompileLiteralTextParser.cs
- ADRoleFactoryConfiguration.cs
- Int32.cs
- IPEndPoint.cs
- Help.cs
- Freezable.cs
- SqlUtils.cs
- updatecommandorderer.cs
- WebPageTraceListener.cs
- XhtmlConformanceSection.cs
- ResourceType.cs
- HighlightComponent.cs
- coordinator.cs
- XmlSignificantWhitespace.cs
- MimePart.cs
- TextProviderWrapper.cs
- ManifestSignatureInformation.cs
- SettingsContext.cs
- SurrogateEncoder.cs
- ValueExpressions.cs
- ToolStripItemImageRenderEventArgs.cs
- CodeAttributeDeclaration.cs
- MemberInfoSerializationHolder.cs
- FileIOPermission.cs
- SecurityTokenProvider.cs
- WebPartsSection.cs
- SettingsPropertyNotFoundException.cs
- NumericPagerField.cs
- FacetEnabledSchemaElement.cs
- DataGridViewLinkCell.cs
- OutputCacheModule.cs
- FontConverter.cs
- Lasso.cs
- ConfigXmlComment.cs
- StructuralType.cs