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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HiddenField.cs
- UTF8Encoding.cs
- ActivationServices.cs
- Highlights.cs
- Int32Rect.cs
- FixedDSBuilder.cs
- ReferenceSchema.cs
- AttributeUsageAttribute.cs
- EventLog.cs
- MatrixAnimationUsingKeyFrames.cs
- followingsibling.cs
- TextTreeFixupNode.cs
- IndexExpression.cs
- DbConnectionPool.cs
- FixedDocumentPaginator.cs
- XmlSchemaSet.cs
- ContentOperations.cs
- ImpersonateTokenRef.cs
- SmtpCommands.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- StrongNamePublicKeyBlob.cs
- FormParameter.cs
- ScrollChangedEventArgs.cs
- InternalUserCancelledException.cs
- WebEvents.cs
- DoubleCollectionConverter.cs
- WindowsScroll.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- DateTimePicker.cs
- HwndStylusInputProvider.cs
- TextHintingModeValidation.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- MemoryRecordBuffer.cs
- BufferedStream.cs
- XmlText.cs
- XmlSerializerNamespaces.cs
- FontSizeConverter.cs
- UIElement.cs
- DbReferenceCollection.cs
- ControlEvent.cs
- ContextMenuService.cs
- IntPtr.cs
- SecUtil.cs
- WebSysDefaultValueAttribute.cs
- NetworkInformationException.cs
- IChannel.cs
- DataGridTextBox.cs
- SourceChangedEventArgs.cs
- AutomationEvent.cs
- CommandManager.cs
- ServicesSection.cs
- __Error.cs
- AttributeCollection.cs
- ProcessProtocolHandler.cs
- CapiHashAlgorithm.cs
- ClientBuildManagerCallback.cs
- ImagingCache.cs
- MexBindingElement.cs
- DriveInfo.cs
- SimpleWorkerRequest.cs
- StrokeNodeOperations.cs
- SQLDecimalStorage.cs
- messageonlyhwndwrapper.cs
- TypographyProperties.cs
- ConfigurationElementCollection.cs
- ViewManager.cs
- FeatureSupport.cs
- WebScriptMetadataFormatter.cs
- ActivityCollectionMarkupSerializer.cs
- ReservationNotFoundException.cs
- Resources.Designer.cs
- ElementUtil.cs
- DocumentAutomationPeer.cs
- IndicCharClassifier.cs
- SpellerStatusTable.cs
- StrokeCollectionDefaultValueFactory.cs
- GridViewUpdatedEventArgs.cs
- RenderContext.cs
- Content.cs
- ResolveNameEventArgs.cs
- Image.cs
- PersonalizationEntry.cs
- CollectionContainer.cs
- DataContractAttribute.cs
- CssStyleCollection.cs
- XmlEncoding.cs
- X509CertificateCollection.cs
- FieldTemplateFactory.cs
- SplitterEvent.cs
- LoginName.cs
- BezierSegment.cs
- FamilyMap.cs
- GridViewRowCollection.cs
- SqlGenerator.cs
- DataTableCollection.cs
- SQLSingleStorage.cs
- HealthMonitoringSection.cs
- ViewGenResults.cs
- ApplicationContext.cs
- ExceptionUtility.cs