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
- ToolStripOverflowButton.cs
- TypeLibConverter.cs
- DrawingContextDrawingContextWalker.cs
- TextAnchor.cs
- TraceUtility.cs
- CryptoKeySecurity.cs
- IDispatchConstantAttribute.cs
- ThreadLocal.cs
- DynamicPropertyReader.cs
- DoubleCollection.cs
- FontDriver.cs
- Line.cs
- WebPartTransformerCollection.cs
- PropagatorResult.cs
- SessionIDManager.cs
- DigestTraceRecordHelper.cs
- JsonWriter.cs
- AutomationEventArgs.cs
- WindowsNonControl.cs
- KeyValuePairs.cs
- CorrelationManager.cs
- IdnMapping.cs
- FrugalList.cs
- EncoderExceptionFallback.cs
- SecurityState.cs
- WorkflowWebService.cs
- PreviewKeyDownEventArgs.cs
- HandlerFactoryWrapper.cs
- BasicCommandTreeVisitor.cs
- BatchServiceHost.cs
- SafeHandle.cs
- WsdlBuildProvider.cs
- XmlUtil.cs
- ZoneMembershipCondition.cs
- FocusManager.cs
- SettingsSection.cs
- BaseTemplateBuildProvider.cs
- EdmEntityTypeAttribute.cs
- ControlLocalizer.cs
- AppSettingsReader.cs
- CodeMemberMethod.cs
- TreeViewItem.cs
- AspNetSynchronizationContext.cs
- NGCSerializationManagerAsync.cs
- ValidatedControlConverter.cs
- ProfileParameter.cs
- recordstatefactory.cs
- BaseResourcesBuildProvider.cs
- ConfigsHelper.cs
- SystemResources.cs
- _LazyAsyncResult.cs
- MemberAccessException.cs
- CompositeFontFamily.cs
- SymbolPair.cs
- IDispatchConstantAttribute.cs
- TextHintingModeValidation.cs
- UiaCoreProviderApi.cs
- MimeWriter.cs
- PackageDigitalSignature.cs
- PlaceHolder.cs
- SqlHelper.cs
- ObjectTypeMapping.cs
- VerbConverter.cs
- DashStyles.cs
- SmiXetterAccessMap.cs
- Transform3D.cs
- HttpStaticObjectsCollectionBase.cs
- DataGridViewCheckBoxCell.cs
- TemplateControlParser.cs
- MouseButton.cs
- CustomBindingCollectionElement.cs
- SettingsPropertyValueCollection.cs
- HttpAsyncResult.cs
- StringFunctions.cs
- AutomationPropertyInfo.cs
- SqlStatistics.cs
- XsltLoader.cs
- EntityModelSchemaGenerator.cs
- ChangeProcessor.cs
- SolidBrush.cs
- MessageDecoder.cs
- DBCommand.cs
- HideDisabledControlAdapter.cs
- streamingZipPartStream.cs
- AnchoredBlock.cs
- TraceUtility.cs
- ScriptControlDescriptor.cs
- DataGridViewLayoutData.cs
- SetterBase.cs
- HttpAsyncResult.cs
- RunWorkerCompletedEventArgs.cs
- AddressingProperty.cs
- TransformProviderWrapper.cs
- XmlDocumentViewSchema.cs
- SerializationObjectManager.cs
- XmlCDATASection.cs
- TripleDES.cs
- SqlProfileProvider.cs
- HtmlShim.cs
- CombinedGeometry.cs